1748117 Members
3714 Online
108758 Solutions
New Discussion

Re: awk printing

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor
Solution

Re: awk printing

>I have seen the "/" in the latter fields so need to work out how to negate that.

Not a problem. Just use index to search $0 for the first "/", then find the next ",". I.e. don't use any fields at all and make your own.
Or use FS=/ and scan $2 for the next ",". Or any combination. :-)
lawrenzo_1
Super Advisor

Re: awk printing

thanks dennis - although I am a bit late with the points
hello