[cs631apue] Question about the project
Jan Schaumann
jschauma at stevens.edu
Sat Oct 12 14:41:33 EDT 2013
Tejas Nadkarni <tnadkarn at stevens.edu> wrote:
> Thanks for this, do we have to override what a user selects based on
> stdout?
>
> i.e. ls -x | cat should it override and do single line or honor the -x flag?
>
> I can set the defaults but trying to decide whether to do them after
> processing user flags or before.
Ask yourself what you, as the user, would expect when you explicitly
choose a format.
I would probably like the command to behave as I explicitly told it
rather than changing to implicit defaults.
-Jan
More information about the cs631apue
mailing list