Reputation
19,108
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
21 54
Newest
 sed
Impact
~1.3m people reached

9h
revised How do i sort first column every 4 lines in a file with a key in second column
added explanation
9h
revised How do i sort first column every 4 lines in a file with a key in second column
added explanation
9h
answered How do i sort first column every 4 lines in a file with a key in second column
10h
comment How do i sort first column every 4 lines in a file with a key in second column
does each first column have the same number of key lines?
13h
reviewed Leave Closed sed - Use file1 to find replacements contained in file2 for lines from file3
13h
comment sed - Use file1 to find replacements contained in file2 for lines from file3
It was probably in find.csv. When i created that file on my system I had to strip trailing spaces from each line. I assumed it was just a copy-and-paste artifact at the time, but it looks like it was in your original file.
13h
reviewed Close How do keberos, an ldap server, samba, and linux / unix file permission acls work together?
13h
reviewed Close 2.7 Terrabyte Partition only 100G in Size
13h
reviewed Close how to make my Linux virtual machine communicate with windows?
13h
reviewed Close Unable to configure font in XTerm
13h
comment sed - Use file1 to find replacements contained in file2 for lines from file3
If your version of sed doesn't support the -i option, that's no big deal. In fact, you shouldn't use -i if you're redirecting output to out.csv. -i does an in-place edit (i.e. write the output to a temp file, and then mv the temp file over the original file).
14h
revised sed - Use file1 to find replacements contained in file2 for lines from file3
added version to replace entire line. used tab as separator in first line.
14h
revised sed - Use file1 to find replacements contained in file2 for lines from file3
added version to replace entire line. used tab as separator in first line.
14h
revised sed - Use file1 to find replacements contained in file2 for lines from file3
added sed code to backslash-escape `/` chars
15h
answered sed - Use file1 to find replacements contained in file2 for lines from file3
15h
comment Getting rid of a line with a perfect match (not substring) using sed
sed -i '/^[[:blank:]]*name[[:blank:]]*$/d'. That will delete lines containing only name and any number (zero-or-more) of leading or trailing spaces or tabs.
15h
comment Safe way to install .sh script in /usr/local/bin?
There's nothing wrong with running vim with sudo - that's true only if the user is supposed to have sudo access to run any command as root. If they're not supposed to have that then giving them sudo access to vim (or any other program that can execute other programs, or edit files like /etc/sudoers) will give it to them.
15h
comment Safe way to install .sh script in /usr/local/bin?
if you don't like the .sh ending then why did you create the script file with it? just create /usr/local/bin/pdf2eps without the .sh ending.
15h
revised How do I interpolate a text file of 3D coordinates (X,Y,Z) onto a regular grid?
edited body
16h
answered How do I interpolate a text file of 3D coordinates (X,Y,Z) onto a regular grid?