1,774 reputation
1415
bio website
location
age
visits member for 1 year, 10 months
seen Jan 21 at 22:42

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
Oct
5
reviewed Approve How to append multiple lines to a file with bash
Oct
5
revised How to exchange words in a filename using the shell?
added 165 characters in body
Oct
5
answered How to exchange words in a filename using the shell?
Oct
4
comment Quickest way to rename files, without retyping directory path
In some Linux distros (such as Ubuntu), rename is an entirely different, perl-based program. There, you would use rename 's/txt$/sh/' ~/folder/subfolder/file.txt.
Sep
30
revised Tool in unix to subtract text files?
added in example usage
Sep
30
suggested approved edit on Tool in unix to subtract text files?
Sep
29
revised Extracting file name and string from multiple files
added 27 characters in body