[CentOS] Awk help
Joseph L. Casale
JCasale at activenetwerx.comMon Jun 23 18:30:54 UTC 2008
- Previous message: [CentOS] Awk help
- Next message: [CentOS] Awk help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>It works OK on the test line you provided; my guess is your datafile >has other lines that match "SMTP" in other fields of the source. Yeah when I echo'ed a single email into it everything was fine, but the file wasn't. I looked at it in vi and saw all the dos carriage returns so added a tr -d '\r' before the awk. I will check out the sed statement, thanks! jlc
- Previous message: [CentOS] Awk help
- Next message: [CentOS] Awk help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list