On Thu, May 21, 2009 at 2:47 PM, Justin Piszcz <[email protected]> wrote:
> Try ls -Q to get the name of the directory with the space "foo bar" and then
> provide the output Alex needs.
/var/www$ ls -Q
"foo bar"
/var/www$ find -ls
3809327    4 drwxr-xr-x   3 root     root         4096 May 21 13:58 .
3809308    4 drwxr-xr-x   2 www-data root         4096 May 21 10:35 ./foo\ bar
3850510    0 -rw-r--r--   1 www-data root            0 May 21 10:35
./foo\ bar/baz
/var/www$ test -d "foo bar" && echo yes, it is an actual space, ASCII 0x20.
yes, it is an actual space, ASCII 0x20.
/var/www$ echo * | od -x -a
0000000 6f66 206f 6162 0a72
         f   o   o  sp   b   a   r  nl
0000010

G.

Reply via email to