Re: What's the difference between ls;who and ls;'who'



On 2008-06-24, Chad <cdalten@xxxxxxxxx> wrote:


I've had two software engineers tell me that ls;who and ls;'who'
aren't the same thing. However,

When I do ls;who, I get

m-net% ls;who
error hose hose.c infile outfile
cdalten ttyp0 Jun 23 23:30 (66-81-67-103.bay)
salini ttyp3 Jun 23 22:04
xnixan ttyp5 Jun 22 19:33
hunterfx ttyp7 May 11 13:56 (195.161.234.152)
hobbhill ttyp8 Jun 23 23:45 (37.mercerville-4)
marcvh ttypa Jun 17 20:40 (74.85.160.100)
cdalten ttypb Jun 23 23:51 (66-81-67-103.bay)
nfw ttype Jun 23 12:44 (gw16e.fmr.com)
casper ttypf Mar 20 17:48 (207.150.165.110:)
tod ttypj Jun 23 17:55 (foxxy.triohost.c)
casper ttypq Mar 20 17:48 (207.150.165.110:)
mickeyd ttypv Jun 20 18:52 (c-24-4-108-103.h)
mk ttyq3 Jun 23 10:00 (78.52.228.174:S.)
trex ttyq4 Jun 19 13:21 (198.108.48.82)
mk ttyq6 Jun 23 10:01 (78.52.228.174:S.)

Now, when I do ls;'who', I get the same output
m-net% ls;'who'
error hose hose.c infile outfile
cdalten ttyp0 Jun 23 23:30 (66-81-67-103.bay)
salini ttyp3 Jun 23 22:04
xnixan ttyp5 Jun 22 19:33
hunterfx ttyp7 May 11 13:56 (195.161.234.152)
hobbhill ttyp8 Jun 23 23:45 (37.mercerville-4)
marcvh ttypa Jun 17 20:40 (74.85.160.100)
cdalten ttypb Jun 23 23:51 (66-81-67-103.bay)
nfw ttype Jun 23 12:44 (gw16e.fmr.com)
casper ttypf Mar 20 17:48 (207.150.165.110:)
tod ttypj Jun 23 17:55 (foxxy.triohost.c)
casper ttypq Mar 20 17:48 (207.150.165.110:)
mickeyd ttypv Jun 20 18:52 (c-24-4-108-103.h)
mk ttyq3 Jun 23 10:00 (78.52.228.174:S.)
trex ttyq4 Jun 19 13:21 (198.108.48.82)
mk ttyq6 Jun 23 10:01 (78.52.228.174:S.)
m-net%

What's the difference? I don't see it.

No difference because 'who' doesn't contain any spaces, dollar signs or
other special characters.

.