Script n00bie needing some help.

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: Script n00bie needing some help.
On Tue, 9 Dec 2003, Matt Alexander wrote:

> and test if it equals two. If not, then tell the user to enter new data.
> Also, there's no reason to cat the crap. ;-) Just give it as input to wc
> like this:
> wc -w crap


It doesn't even need to save the data to a file; echoing the variable and
piping through wc should be fine.

Then again it is a assignment, so maybe it was a requirement ...

Jeremy C. Reed
http://bsd.reedmedia.net/