[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash Scripting
>with a single colon. You may want to use a different delimiter
>than a colon since the time in a long ls listing is already colon
>delimited.
Yup.
Or, (tested under Linux):
[master@master master]$ ls -l v* | sed 's/ */:/g'
-rw-r--r--:1:master:master:27673:Jan:14:2000:vdet.tgz
-rw-rw-r--:1:master:master:139:Jan:15:2000:void.def
-rw-r--r--:1:master:master:6312:Jan:13:2000:voidlog.tgz
-rw-r--r--:1:master:master:102659:Jan:13:2000:voidmake.tgz
[master@master master]$
note the sed script I use here has TWO spaces. One would work just as well.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com