On Sun, 2002-03-31 at 12:48, Emmanuel Seyman wrote:
> On Sun, Mar 31, 2002 at 10:28:55AM -0800, The Gyzmo wrote:
> >
> > cdl () { cd $1;ls -l --color=yes; } works, but is there a way I can add
> > the 'more' command to it?
> 
> cdl () { cd $1;ls -l --color=yes | more; } 
> should do it.

so what is going to happen when the cd fails do to an invalid path for
the directory?  I have not been playing with it but I hate to see logic
dependent on the proper execution of a previous command that does no
error checking.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to