[MPlayer-users] parse mplayer -list-options output with non-english LINGUAS

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jun 23 20:49:47 CEST 2011


On Thu, Jun 23, 2011 at 06:47:48PM +0200, Raphaël wrote:
> Do you think it would be safe to assume the completion
> can strip the first 3 lines from mplayer output and the first 4 lines
> from mencoder [3] ? or is there a better possibility around there ?
> What would you think about putting a hint in the output to allow the use
> of a more robust regexp ?

Seems quite robust to me:
mplayer -list-options | grep '^ ' | tail -n +2


More information about the MPlayer-users mailing list