[CentOS] script help - '3rd last field'
Tom Brown
tom at ng23.netMon Jun 8 09:29:05 UTC 2009
- Previous message: [CentOS] Disabling IPv6 in CentOS 4.7
- Next message: [CentOS] script help - '3rd last field'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi I need some logic to work out a value for me - this value is _always_ the 3rd last field in a string seperated by '.' but the string could be 5 or 6 fields long, e.g foo.bar.VALUE.baz.lala foor.bar.gigi.VALUE.baz.lala I need to find VALUE - if this were python or something i could do it but this has to be in shell - Any clues? thanks
- Previous message: [CentOS] Disabling IPv6 in CentOS 4.7
- Next message: [CentOS] script help - '3rd last field'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list