bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <( error


From: Greg Wooledge
Subject: Re: <( error
Date: Mon, 30 Nov 2009 08:41:41 -0500
User-agent: Mutt/1.4.2.3i

On Sat, Nov 28, 2009 at 02:57:45PM +0100, Antonio Macchi wrote:
> but, if you don't have hd (hexdump) how can you see the content of a, 
> for example, strange file
> 
> i mean
> 
> $ ls -l
> total 0
> -rw-r--r-- 1 user1 user1 0 2009-11-28 14:56 ?
> 
> $ hd <(ls)
> 00000000  09 0a                                             |..|
> 00000002

You aren't actually looking at the content of a "strange file".
You're trying to see its name.  For this specific case, you may want
"ls -b" instead.

>From HP-UX:

imadev:~$ touch $'\x09'; ls -lb ?
...
-rw-r--r--   1 wooledg    pgmr             0 Nov 30 08:39 \011

Or from Linux:

arc3:~$ ls -lb ?
-rw-r--r-- 1 wooledg voice     0 2009-11-30 08:39 \t
...

(Don't bother asking why the GID mapping is different... it's a local
site legacy thing.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]