Skip to main content
9 events
when toggle format what by license comment
Nov 17, 2018 at 20:35 history edited Rui F Ribeiro CC BY-SA 4.0
deleted 115 characters in body
Mar 9, 2015 at 13:30 history edited rahul CC BY-SA 3.0
added 610 characters in body
Mar 5, 2015 at 17:58 comment added rahul @cuonglm Thanks, yes it will make it easier. But the file has about 30 columns, and this script will be used as an utility for other users. So i wanted to make it simpler for them to use.
Mar 5, 2015 at 17:51 comment added cuonglm I mean if you pass the column number, it's easier awk -F'|' -v f=3 -v v=T 'FNR>1{$f=T}1' OFS='|' file
Mar 5, 2015 at 17:46 vote accept rahul
Mar 5, 2015 at 17:42 comment added rahul @cuonglm I just pasted an example to make it simpler to explain, in the actual file, the column headers are named differently and do not have the numeric suffix to them.
Mar 5, 2015 at 17:29 answer added Costas timeline score: 3
Mar 5, 2015 at 17:29 comment added cuonglm Why don't you pass 3 instead of Field3?
Mar 5, 2015 at 17:11 history asked rahul CC BY-SA 3.0