[CentOS] script help - '3rd last field'
Mogens Kjaer
mk at crc.dkMon Jun 8 09:52:15 UTC 2009
- Previous message: [CentOS] script help - '3rd last field'
- Next message: [CentOS] script help - '3rd last field'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
muhammad panji wrote:
...
> awk -F\. {'print $3'}
> awk -F\. {'print $5'}
> awk -F\. {'print $6'}
awk -F\. {'print $(NF-2)'}
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk at crc.dk Homepage: http://www.crc.dk
- Previous message: [CentOS] script help - '3rd last field'
- Next message: [CentOS] script help - '3rd last field'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list