At 10:28 PM 4/20/2002 +0100, you wrote: >Is there a way to get a c68 program to accept a commandline >(or part of a command line) from a file/pipe. > >I want to achieve something like: > EX cprog ; "-options parameters <filelist_file" >rather than > EX cprog ; "-options parameters file1 file2 .. fileN" >Or is all this entirely up to cprog?
I'm pretty sure C68 supports file redirection. Since the filelist_file would be coming in on STDIN and not as an argument list, it is up to the program to process it correctly. With some programming skill, you could get the program to accept data either way. Using an option like "-f filelist_file" would work. This would have the user tell the program to use a file list file (and not list any files in the command line. If a program will work in Unix, then it should work in C68. It's very Unix like in how it handles itself. Tim Swenson
