Reputation
2,159
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
1 5 18
Newest
 Nice Answer
Impact
~346k people reached

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
Dec
5
answered Shell script to add or replace block of text?
Nov
16
answered Using double or no quotes with wildcards
Nov
16
comment Is test or [ or [[ more portable both between bash shells and between other shells?
I'm probably just being dense, but I'm not seeing what the difference would be... could you please give an example where those two constructions would give different results?
Nov
6
awarded  Nice Answer
Nov
5
comment Loop in script on remote server doesn't work
Yup, but it's better to just skip the cat entirely and do it in one line: ssh node2@192.168.1.190 'while read line; do mkdir -p /tmp/$line ; done < temp.txt'
Oct
31
comment How can I replace a newline with sed?
Is there any sort of pattern to what appears on the lines? Like, is the first line always alias: aliasname or something?
Oct
28
comment How do I populate end tags using sed, awk or any other command?
<this>will >break your regex<
Oct
23
comment combine two text files with adding some separator between?
@mikeserv you should make that an answer.
Oct
5
revised How to exchange words in a filename using the shell?
gave a little bit of explanation on the regexes
Oct
5
revised How to exchange words in a filename using the shell?
added 417 characters in body
Oct
5
awarded  Custodian