<div dir="ltr">To confirm,<div><br></div><div>-x would be:</div><div>a b c d</div><div>e f g</div><div><br></div><div>-C would be </div><div>a c e g</div><div>b d f h</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Oct 5, 2013 at 2:21 PM, Jan Schaumann <span dir="ltr"><<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Tejas Nadkarni <<a href="mailto:tnadkarn@stevens.edu">tnadkarn@stevens.edu</a>> wrote:<br>
<br>
> How will -c and -x override -l? They are different. -c and -x appear to be<br>
> modifiers of the short format. If you have -l then it will always override<br>
> the others.<br>
<br>
</div>Not quite. Assuming you mean '-C' (upper case), since '-c' (lower case)<br>
operates on the timestamps, the _last_ flag specified on the<br>
command-line will override the others.<br>
<br>
ls -l -x -C -l -x -x -x -x -x -x -C -C -C -C -l<br>
<br>
is equivalent to 'ls -l', while<br>
<br>
ls -l -l -x -C -x -x -x -x -l -l -l -l -C -C -l -x -C<br>
<br>
is equivalent to 'ls -C'.<br>
<br>
There are a few other flags that similarly override each other.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Jan<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</div></div></blockquote></div><br></div>