Reputation
22,688
Next tag badge:
898/400 score
77/80 answers
Badges
3 52 81
Newest
 Yearling
Impact
~988k people reached

Apr
5
revised Problem with find and variables
added 78 characters in body
Apr
5
revised How to make the terminal display user@machine in bold letters?
deleted 269 characters in body
Apr
5
answered Problem with find and variables
Apr
5
comment Variable substitution into a sed script
Instead of sed -i you should look into ed as well. sed -i breaks links and is not very portable but if you don't have to worry about either, then it may be fine.
Apr
5
awarded  Enlightened
Apr
5
awarded  Nice Answer
Apr
5
comment Quick way to include a directory path when calling mv?
I remember seeing a question with an accepted answer nearly identical to mine. However I cannot find it so I've answered your question for now, at least until someone stumbles across the link.
Apr
5
answered Quick way to include a directory path when calling mv?
Apr
4
answered Is it possible to customise the prompt to show the if there are any background jobs?
Apr
2
comment What is a good X terminal not from a major window environment?
All the times I have tried it, I never have found transparency in terminals to be anything except distracting eye-candy at the expense of usability. Having random background noise bleed through the text makes it harder to read, even if you apply a generous gaussian blur to the background layer. If you really desire light-weight or minimalist, I'd recommend dropping this "feature" from your shopping list.
Apr
2
answered What is the difference between $var and “$var”?
Apr
2
comment How can I delete lines that has an empty first column?
You should be asking the OP whether it matters, not me. I'm just here to point out that the /^\s\s*/d will let lines like |... slip through whereas /^\s*|/d will not.
Apr
2
comment How can I delete lines that has an empty first column?
How about /^\s*|/d?
Apr
2
comment How can I create a file with multiple lines from the command-line?
Best answer, IMO.
Apr
2
comment Recursively search folder but exclude svn subfolder
or perhaps you want to use --recursive . instead, seeing as the OP already has GNU grep.
Apr
2
comment Four tasks in parallel… how do I do that?
@DigitalRobot You can try it for yourself but the xargs man page seems to imply it will try to keep 4 processes running at all times.
Apr
2
comment Light GUI user interfaces
Are you looking for a full DE? Many people seem to be suggesting window managers but if you go that route you'll have the burden/freedom of choosing all your DE components like pagers, panels, file managers, etc. yourself.
Apr
1
comment Editing a file without overwrite permission
@Mat is right. This doesn't make any sense. What are you trying to do?
Apr
1
comment Four tasks in parallel… how do I do that?
@EugeneS It's for maximum correctness and robustness. File names are not lines, and ls cannot be used to parse filenames portably and safely. The only safe characters to use to delimit file names are \0 and /, since every other character, including \n, can be part of the file name itself. The printf uses \0 to delimit file names, and the -0 informs xargs of this. The -I{} tells xargs to replace {} with the argument.
Apr
1
awarded  Enlightened