Reputation
2,692
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 9 21
Newest
 Yearling
Impact
~608k people reached

Apr
27
answered pull out lines that contain 1 in 3rd column
Mar
30
answered Move all files with a certain extension from multiple subdirectories into one directory
Mar
22
comment Insert text at specific line number
At least with bash, instead of all those echos, you could use printf '%s\n' 2 a 'text to insert' . wq
Mar
19
awarded  Yearling
Mar
15
awarded  Popular Question
Nov
19
awarded  Popular Question
Oct
18
answered Text Editor like WordGrinder
Oct
6
awarded  Notable Question
Sep
17
awarded  Good Answer
Aug
28
awarded  Enlightened
Aug
28
awarded  Nice Answer
Jul
15
comment Copying Only Directories With Files
I'm think the problem here is that you need to use 0 for every 1 ised in the answer ($0 in ash -c command is equivalent to $1 in a shell script. I have no idea why that's the case).
Jul
14
answered grep for lines/files that contain exactly X chars
Jun
11
answered How do I delete the first n lines and last line of a file using shell commands?
Jun
4
awarded  Nice Answer
Mar
30
awarded  Nice Answer
Mar
28
awarded  Popular Question
Mar
19
awarded  Yearling
Dec
6
revised Shell script to add or replace block of text?
quoted all the 'EOF's so that backslashes will be properly passed to ed
Dec
5
awarded  Popular Question