On Wed, Nov 14, 2001 at 04:30:08PM +0100, Emmanuel Seyman wrote:
> On Wed, Nov 14, 2001 at 10:01:22AM -0500, Anthony E. Greene wrote:
> >
> > You could always take advantage of grep:
> >
> > `ls ~/mail | grep -v '^sent'`
>
> I thought of that but I need all the info on one line, hence the echo.
Well, how about
echo `ls ~/mail | grep -v '^sent'`
then?
$SOMEVAR=`ls ~/mail | grep -v '^sent'`
works, too, and you can do with $SOMEVAR whatever you like, then.
Cheerio,
Thomas
--
NEWSFLASH: http://www.netmeister.org/news/learn2quote.html
http://www.lemis.com/email/email-format.html
Thomas Ribbrock | http://www.ribbrock.org | ICQ#: 15839919
"You have to live on the edge of reality - to make your dreams come true!"
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list