substr($line,$x,$len)

M.W. Chang mwchang
Mon May 17 12:02:21 PDT 2004


> Yes. index() returns the location of a specific string; you can then
> use match() or substr().

could you offer an example in awk?

-- 
   .~.    http://toylet.homeip.net
  / v \   Linux 2.4.26
/( _ )\  8:04am up 16 days 9:27
   ^ ^    load average: 1.27 1.35 1.27
-- 
Scanned by ClamAv - http://www.clamav.net



More information about the Linux-users mailing list