[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [BusyBox] BusyBox ash arithmetic operations
From: Wolfgang Denk <wd () denx ! de>
Date: 2005-01-17 8:36:06
Message-ID: 20050117083611.9D304C108D () atlas ! denx ! de
[Download RAW message or body]
In message <20050117.164526.85686909.ito@mlb.co.jp> you wrote:
>
> > wc1=`wc -l file1`
> wc1=${wc1% *}
> # wc always shows filename, trim it.
...except when reading from stdin. So it's easier in one step:
wc1=`wc -l <file1`
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Don't put off for tomorrow what you can do today, because if you
enjoy it today you can do it again tomorrow.
_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic