[mpg123-devel] [ mpg123-Bugs-3014054 ] mpg123 overly strict about argument order
Brought to you by:
sobukus
From: SourceForge.net <no...@so...> - 2011-04-08 06:47:34
|
Bugs item #3014054, was opened at 2010-06-09 23:44 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733194&aid=3014054&group_id=135704 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: mpg123 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: mpg123 overly strict about argument order Initial Comment: [07:37 PM] 4Mb$ mpg123 Igida_H.mp3 -w foo.wav High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.7.3; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 3: Igida_H.mp3 ... Genre: Other MPEG 1.0 layer III, 128 kbit/s, 44100 Hz mono [0:00] Decoding of Igida_H.mp3 finished. [readers.c:970] error: Cannot open file -w: No such file or directory [mpg123.c:535] error: Cannot open -w: File access error. (code 22) [readers.c:970] error: Cannot open file foo.wav: No such file or directory [mpg123.c:535] error: Cannot open foo.wav: File access error. (code 22) ??? /checks MP3 for corruptness - no, it played fine, and redownloading doesn't change its hash. /reads man page thoroughly. No, that seems right. It's almost as if mpg123 were treating what is clearly an option as though it were an argument... [07:37 PM] 4Mb$ mpg123 -w foo.wav Igida_H.mp3 # surely it is not this simple High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.7.3; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: Igida_H.mp3 ... Genre: Other MPEG 1.0 layer III, 128 kbit/s, 44100 Hz mono [0:00] Decoding of Igida_H.mp3 finished. /guesses that it was that simple Most (~all) CLI tools will take their arguments and options in any order. This is often convenient - for example, you can get a nice readable left-to-right input-to-output style this way. I think mpg123 should follow suit. This is with mpg123 1.7.3, on Ubuntu 9.10. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2011-04-08 06:47 Message: KSg809 <a href="http://frzijwgmnurn.com/">frzijwgmnurn</a>, [url=http://kujpfudjsops.com/]kujpfudjsops[/url], [link=http://lbbqpclxtpxo.com/]lbbqpclxtpxo[/link], http://knlwnpllbykf.com/ ---------------------------------------------------------------------- Comment By: Thomas Orgis (sobukus) Date: 2010-06-11 06:45 Message: Hm, that's more of a feature request... mpg123 is processing command lines this way since the last century. I'll think about that... but please be careful with statements about "all" command line programs. Command line processing is not so standardized as one might think. Such a behaviour change needs to be well-announced and won't occur in a bugfix release (1.12.2, for example), that's for sure. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=733194&aid=3014054&group_id=135704 |