Where can I read more about the “shells quoting convention”.
What are those quoting convention? And about which shell are we
talking here. Plan 9s rc(1) or Unix shells?

I downloaded lsr.c from https://swtch.com/lsr.c, compiled it:
% 9c lsr.c
% ls
lsr.c
lsr.o

linked it:
% 9l lsr.o
% ls
a.out
lsr.c
lsr.o

and installed it:
% mv a.out $home/bin/lsr

all of this with the help of Plan 9 from User Space on an IMac. It works great. 
Next, I’ll write the manual page for it and I can forget du(1).

Here are some usages for it:
% ed `{lsr $PLAN9 | grep 'du\.c$'}
3101

% ed `{lsr $home/plan9os|grep 'du\.c$'}
5427

% ed `{lsr $home/plan92nd|grep 'DU\.C$'}
2308

This demonstrate nicely the bloat of du(1) over the times.

Greetings
Wolfgang




> Am 30.09.2015 um 12:55 schrieb Mark van Atten <vanattenm...@gmail.com>:
> 
> On Wed, Sep 30, 2015 at 12:07 PM, Steve Simon <st...@quintile.net> wrote:
> 
>> NB: don't use sed or awk, they don't understand the shells
>> quoting convention for filenames containing frogs.
> 
> That's a good point.
> 
> Mark.
> 


Reply via email to