[NBLUG/talk] Shell Script

Ian Sutherland iansuth at sbcglobal.net
Mon Mar 8 08:21:01 PST 2004


This worked; 	#!/bin/bash
		ls /usr/bin /usr/X11R/bin | less

Can it be done with $* or $@?

Thanks, Ian





On Sun, 2004-03-07 at 12:55, Scott Doty wrote:
> On Sun, Mar 07, 2004 at 12:31:08PM -0800, E Frank Ball wrote:
> > On Sun, Mar 07, 2004 at 10:53:25AM -0800, Ian Sutherland wrote:
> > } How would you write a shell script to display a long list of all command
> > } line arguments, one screenful at a time.
> > 
> > 
> > ls /usr/bin /usr/X11R6/bin | less
> 
> Perhaps he means arguments, such as:
> 
>    echo $* | less
> 
> ?
> 
>  -Scott
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/mailman/listinfo/talk




More information about the talk mailing list