Yes, but most unix es don't spport those flags for head and grep ! I didn't check on the sed.
IM on a Solaris 8 system
I read gnu man page for grep and didn't even understand what the -o flag did and not im not sure egrep would do the extend regular exp.
If I did I might try to do it another way.
.
Antwort: Re: [hobbit] New Hobbit "admin" Scripts
* To: user-ae9b8668bcde@xymon.invalid
* Subject: Antwort: Re: [hobbit] New Hobbit "admin" Scripts
* From: user-75055581652a@xymon.invalid
* Date: Thu, 21 Dec 2006 16:54:13 +0100
ah ok but sed and grep are on the most Unix Systems too.
I think i must do an switch between the Systems. The option of each programm differs extremely (but i only have Sun mashines here as an other Unix, but not tested yet).
I will work on that after the christmass day, what system do you use?
I read Redhat but it seems to be not right ;-)
thx Stefan
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth
| ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX |><___________) | Home Page:http://www.geocities.com/mjnemeth/
| Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++