[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to separate field by specifying the field regex?
From: |
Peng Yu |
Subject: |
How to separate field by specifying the field regex? |
Date: |
Fri, 21 Aug 2009 11:09:50 -0500 |
Hi,
"abc","a,b","c,d"
For the above case, which has three fields, I would end up with 4
fields if I set FS as ','. I know that I can specify a regex for FS,
but it would be better if I can specify a regex for the fields as well
FS. I don't find such thing in gawk manual. Can somebody let me know
if such thing is available?
Regards,
Peng
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to separate field by specifying the field regex?,
Peng Yu <=