On Tue, Nov 09, 2004 at 10:32:40PM -0500, Travis Crump wrote: > David Jardine wrote: > >On Tue, Nov 09, 2004 at 05:09:51PM -0500, Tong wrote: > > > >>Hi, > >> > >>I used to use the following command/alias to get the names under the > >>current directory in RH: > >> > >>ls -l <criteria> | grep ^d | cut -c57- > >> > >>but in Debian, the position of the file name is not fixed. > > > > > >It is for me, and the above command works perfectly. > > > > It is?
Nope. Observe some partial output: mauritsvanrees:~# ls -l drwxr-x--- 3 root root 256 2004-09-24 16:18 commands [EMAIL PROTECTED]:~$ ls -l drwx------ 3 maurits maurits 304 2004-08-30 21:13 Desktop drwx------ 118 maurits maurits 3184 2004-11-01 23:15 az [EMAIL PROTECTED]:/opt$ ls -l -rw-r--r-- 1 maurits maurits 19194716 2004-08-01 00:33 02.Gebed.wav The position of the filename is influenced by: - size of the largest dir - lenghth of user and group name - size of file/dir - maybe some more. So yes, `file' is much better. -- Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] "Let your advance worrying become advance thinking and planning." - Winston Churchill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

