|
Re: lug-bg: tail -f | grep ... | cat ... | awk ...
- Subject: Re: lug-bg: tail -f | grep ... | cat ... | awk ...
- From: v_valchev@xxxxxxxxxx (Valentin Valchev)
- Date: Thu, 31 Jan 2002 11:26:31 +0200
ami to ne izliza ot 'tail -f' prosto tova se prekysva samo s ctrl+c (mai)
taka che pishi 'tail -10 blabla |awk ....'
---------------------------------------------------------------
ProSyst Bulgaria Ltd. Valentin Valchev
48 Vladajska Str. Project Manager
Sofia 1606, Bulgaria Dept: mBedded Server/Broadband
http://www.prosyst.com/ Phone: +359 (2) 9523581-107
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
----- Original Message -----
From: Vesselin Kolev
To: lug-bg@xxxxxxxxxxxxxxxxxx
Sent: Thursday, January 31, 2002 11:13 AM
Subject: lug-bg: tail -f | grep ... | cat ... | awk ...
Zdraveite...
Znachi imam slednia problem...
Imam log-file, koito s pomoshtta na tail -f preglezhdam za novi zapisi v
kraia mu. Potoka predavam na grep za da tyrsi v nego daden separator i
reda s namerenia v nego seprator se podava na cut, koito premahva niakoi
poleta i posle se preadava na awk za izvlichane na dadeno pole...
Problema e slednia... Ako vmesto tail -f izpolzvam cat vsichko raboti
idealno.. No s tail -f ne raboti. Predavaneto na potoka stiga do cut i tam
vsichk spira... t.e. sled cut ne se predava potok na awk...
Niakoi sblyskval li se e s podoben problem i znae li kak da se reshi!
Pozdravi
Vesselin Kolev
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|