[Flac-dev] flac command line usage (was: the road to 1.0...)

Matt Zimmerman mdz at debian.org
Tue May 1 14:33:02 PDT 2001


On Tue, May 01, 2001 at 02:01:04PM -0700, Josh Coalson wrote:

> Now, that I've gone to implement it, there's a problem it creates with
> piping, that flac doesn't know what to name an output file when the input is
> stdin, and there would be no clean way to tell to write a decoded file to
> stdout.  Any suggestions?

The logical thing to do is to output to stdout...what is the complicating
factor?  Is it because you leave the filenames in argv[]?  It's hard to
tell at first glance...

(while I'm here...why in POSIX's name don't you use getopt(3)?  I could
gladly supply a patch if you're interested...)

-- 
 - mdz




More information about the Flac-dev mailing list