Re: lug-bg: grep ? cat? tail?
- Subject: Re: lug-bg: grep ? cat? tail?
- From: mmarkov@xxxxxxx (Minko Markov)
- Date: Wed, 15 May 2002 19:23:25 -0700
Marian Popov wrote:
>
> Zdraveite vsichki.
>
> Niakoi sluchaino znae li dali ima niakakva komanda koiato da moje da
> propusne pyrvite X reda i da otpechata ostanalite ot niakakyv log file ?
Hrumva mi reshenie, no e tromavo i glupavo.
Napishi shell script, v koyto pqrvo v nyakakva
promenliva A se slaga broya na redovete (wc -l),
posle ot A se vadi X, ako rezultatqt e polozhitelen,
tail -n $A $1
Ne pomnya tochno sintaksisa na bash, za da
napisha konkreten script. No man bash bi mi
bilo dostatqchno za celta.
--
MM
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|