Tail -f piped with sed don't work
- From: "Ragnar Moller \(MA/EAF\)" <ragnar.moller@xxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 11:24:01 +0100
I wanted to the output of a log file and clean up a bit in order to
apply another script to the output.
I have a statement with tail -50 which works, but tail -f doesn't.
It also works if I drop the sed filtering at the end.
Have an idea
tail -50 /var/opt/OV/share/log/trapd.log | grep "Error."| sed
's/^.*STI_//p'| sed 's/_.*$//g'
Works
tail -50 /var/opt/OV/share/log/trapd.log | grep "Error."| sed
's/^.*STI_//p'| sed 's/_.*$//g'
No output
Reagrds,
Ragnar Moller
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: solaris zones
- Next by Date: Storgage device with Sun Cluster version 0.80j on cgydc002.netthruput.com
- Previous by thread: solaris zones
- Next by thread: Storgage device with Sun Cluster version 0.80j on cgydc002.netthruput.com
- Index(es):
Relevant Pages
|