[MPlayer-DOCS] [PATCH] -ao pcm hintinfo message

Torinthiel torinthiel at megapolis.pl
Mon Sep 19 17:12:11 CEST 2005


On Mon, Sep 19, 2005 at 03:45:19PM +0200, Ivo wrote:
> 
> On Monday 19 September 2005 12:49, The Wanderer wrote:
> > for i in `ls help/help_mp-??.h` ; do cat ${i} | sed "s/-waveheader/-ao
> > pcm:waveheader/g" > ${i}.tmp && mv ${i}.tmp ${i} ; done

Probably even sed -i ... would work. At least if the option is present
(IIRC it's not portable) it edits in place. But if the power dies during
it you're screwed. cvs up then ;)

> 
> Thanks. I used sed to replace all occurances of -waveheader and diffed the 
> diffs and your right. The output is the same. I suspected vim to be save, 

Hey, vim is not smarter then the user. It won't change things you don't
tell him to ;) I've used it to change all of the help/*.h files and some
xml/* as well with no side effects. 
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: 0906A2CE fpr: EE3E DFB4 C4D6 E22E 8999  D714 7CEB CDDC 0906 A2CE
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20050919/c2b559bc/attachment.pgp>


More information about the MPlayer-DOCS mailing list