689 reputation
213
bio website
location
age 30
visits member for 1 year, 4 months
seen 10 hours ago

Current picture: One Flew Over the Cuckoo's Nest (1975, Milos Forman)


1d
answered Replace negative values in a file with zeros
May
30
comment How to grep values under columns
@user327963 well this is what I tried with my solution: get the column number and then print that column on the next line.
May
30
comment How to grep values under columns
Nice to read that, @user327963 . However, you ended up using the col number ($4) and line number (head -24). Anyway, good that you found your desired result.
May
30
comment How to grep values under columns
@user327963 it works fine with my awk: mawk 1.3.3 Nov 1996. Cross check if you are writing the fields properly.
May
30
comment How to grep values under columns
Ok, @user327963 see my updated answer. Now it makes it.
May
30
revised How to grep values under columns
added 70 characters in body
May
30
comment How to grep values under columns
So given this file, what is your exactly required output, @user327963 ?
May
30
suggested suggested edit on How to grep values under columns
May
30
revised Replacing every 10th pipe with new line in unix
format code
May
30
comment How to grep values under columns
Please update your question with this information, in comments it is quite difficult to see code.
May
30
answered Replacing every 10th pipe with new line in unix
May
30
suggested suggested edit on Replacing every 10th pipe with new line in unix
May
30
answered How to grep values under columns
May
22
revised Bash Command line Editing
format code
May
22
comment Bash Command line Editing
To print hidden files you need to do echo .*
May
22
suggested suggested edit on Bash Command line Editing
May
2
awarded  Constituent
Apr
21
awarded  Caucus
Apr
10
comment Weird behavior of awk
Good one! You can also indicate by printing print animal[var], "-"var"-". var is empty, - to show where it starts and where it ends.
Apr
10
comment Weird behavior of awk
Missing a ' at the end of the code.