Re: Need some shell scripting help

2001-12-24 Thread Matt Zimmerman
On Sun, Dec 23, 2001 at 06:34:29PM +0100, martin f krafft wrote: > also sprach Adam Olsen <[EMAIL PROTECTED]> [2001.12.23.1822 +0100]: > > > fishbowl:..b/pantsfullofunix.net> print -l * > > > adequacy.org_hacker.html > > > index.html > > > mirror/ > > > ms_white/ > > > www.unix-vs-nt.org/ > > > fi

Re: Need some shell scripting help

2001-12-23 Thread Herbert Xu
Clint Adams <[EMAIL PROTECTED]> wrote: > I prefer > print -l * Or the portable printf "%s\n" * -- Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbe

Re: Need some shell scripting help

2001-12-23 Thread martin f krafft
also sprach Adam Olsen <[EMAIL PROTECTED]> [2001.12.23.1822 +0100]: > > fishbowl:..b/pantsfullofunix.net> print -l * > > adequacy.org_hacker.html > > index.html > > mirror/ > > ms_white/ > > www.unix-vs-nt.org/ > > fishbowl:..b/pantsfullofunix.net> > > You mean like ls -1 ? pretty much ;) -- m

Re: Need some shell scripting help

2001-12-23 Thread Adam Olsen
On Sun, Dec 23, 2001 at 06:09:28PM +0100, martin f krafft wrote: > also sprach Torsten Landschoff <[EMAIL PROTECTED]> [2001.12.23.1755 +0100]: > > > print -l * > > > > What should this do in your opinion? For me, print is something > > quite different: > > it's a shell built-in of zsh, and -l pr

Re: Need some shell scripting help

2001-12-23 Thread Clint Adams
> What should this do in your opinion? For me, print is something > quite different: That's because you're not using zsh. It prints each argument, using newline as an output separator. Also you could use print -N if you prefer NULs instead of newlines. print -N **/*.c | xargs -0 echo is equiv

Re: Need some shell scripting help

2001-12-23 Thread martin f krafft
also sprach Torsten Landschoff <[EMAIL PROTECTED]> [2001.12.23.1755 +0100]: > > print -l * > > What should this do in your opinion? For me, print is something > quite different: it's a shell built-in of zsh, and -l prints the arguments as newlines instead of separated by spaces. fishbowl:..b/pa

Re: Need some shell scripting help

2001-12-23 Thread Torsten Landschoff
On Fri, Dec 14, 2001 at 07:58:31PM -0500, Clint Adams wrote: > I prefer > > print -l * What should this do in your opinion? For me, print is something quite different: [EMAIL PROTECTED]:~$ whatis print print (3ncurses) - ship binary data to printer print (1)- execute programs