Open Tech archive
Sharing what I know!!!
About Me
Prakash
Working as Technical Lead in CollabNET software private limited.
View my complete profile
Showing posts with label
gawk
.
Show all posts
Showing posts with label
gawk
.
Show all posts
Thursday, 28 August 2008
Replace particular field of line using awk
I was trying to replace the particular field of a line and found a suggestion for that.
echo 'count ****** 50' | gawk '{$2="\"5AB0\"";print}'
The above gawk command replaces the ****** with 5ABo.
Older Posts
Home
Subscribe to:
Posts (Atom)