[cs631apue] -w Rawprint

Tejas Nadkarni tnadkarn at stevens.edu
Sun Oct 13 16:14:27 EDT 2013


Thank you that helped tremendously!


On Sun, Oct 13, 2013 at 3:37 PM, Jan Schaumann <jschauma at stevens.edu> wrote:

> Tejas Nadkarni <tnadkarn at stevens.edu> wrote:
> > Also for the -w flag, are we just forcing print of the non-printable
> > characters in the path.
> >
> > i.e. if -q is selected it replaces non printable characters with '?' but
> if
> > -w is selected it just forces them to be printed out based on isprint().
>
> If '-w' is selected, the program will not check whether or not the
> character is printable, it will simply print it.
>
> By default your 'ls -q' should give the same output as (on
> linux-lab.stevens.edu):
>
> /bin/ls ~jschauma/tmp/
>
> while your 'ls -w' should produce the same as:
>
> /bin/ls ~jschauma/tmp | cat
>
> -Jan
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20131013/d17c6da7/attachment-0001.html>


More information about the cs631apue mailing list