On Sat, Oct 29, 2005 at 11:31:28AM -0400, Alexander Tait Brotman wrote: > Package: jack > Version: 3.1.1-8 > Severity: normal > > When attempting to use jack, the command line option parsing seems to be > broken, and perhaps inconsistent. > > jack -Q --encoder-name "lame" -t 3 --rename-fmt "%a-%l-%n-%t" > --unusable-chars " " --replacement-chars "_" > > and > > jack -Q --encoder-name "lame" -t 3 --rename-fmt "%a-%l-%n-%t" > --unusable-chars " " --replacement-chars "_" --save > > In the first example, the program will replace the " " with "%" when > renaming. You can get it to work by using --replacement-chars="_", but > the man page doesn't say to do this.
Indeed. Actually, one needs --unusable-chars= (with the '='), otherwise the command-line parsing gets messed up. Worse, if you use --unusable-chars "foo" --replacement-chars="bar", the system hangs here, consuming 100% CPU. Using = for both is fine as well. Doing strace for the hanging command, it loops like this: mremap(0xb6c08000, 6193152, 6967296, MREMAP_MAYMOVE) = 0xb6c08000 mremap(0xb6c08000, 6967296, 7839744, MREMAP_MAYMOVE) = 0xb6c08000 [...] Maybe a bug in python? > In the second, the program will not save my preferences. If > I put the --save earlier in the command, then it does work. Wicked. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]