Reputation
1,275
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 10
Newest
 Constituent
Impact
~50k people reached

Apr
1
comment Turn list into single line with delimiter
A million IP's is <16M, you'd need an awfully big list to blow limits here. Using search for eof detection is more problematic, as is this'll run O(N^2) on the input file size. sed 'H;1h;$!d;x;s/\n/ | /g' is linear.
Feb
26
comment Is there any way to keep track of all the processes exec'd by bash
-b execve stops following on exec. Try it.
Feb
25
answered How can I make sudo forget the password automatically after one command?
Feb
25
answered Is there any way to keep track of all the processes exec'd by bash
Feb
25
comment bash $(printf “%s\n”) does not create multiline
It's not echo doing it, the shell does wordsplitting after parameter expansion for command arguments.
Feb
24
revised Run command automatically when files are copied into a directory
added 24 characters in body
Feb
24
answered Run command automatically when files are copied into a directory
Feb
24
comment how to use awk/cut to get column data which has space
@Costas that's by far the best method if there's no tabs, why not make it an answer?
Feb
24
comment How to weave the words of a string into a block of strings in vim?
>5min see :help put-Visual-mode, the per-command docs don't mention it but reading all of the copy-move section gets you there. I think I picked this up for a *.SO post somewhere.
Feb
24
comment How to weave the words of a string into a block of strings in vim?
@LievenKeersmaekers Well, here's a guy from 2011 complaining it's a bug :-) ... The only place I ever recall seeing this was in a *.SO post somewhere I can't find atm. :help p sure doesn't turn up anything.
Feb
24
answered Exit vim more quickly
Feb
24
answered How to weave the words of a string into a block of strings in vim?
Jan
31
comment sed: read whole file into pattern space without failing on single-line input
Putting the unconditional H first is lovely.
Jun
16
awarded  Constituent
Jun
16
awarded  Caucus
May
14
awarded  Yearling
Apr
20
answered Placement of kernel binary and sources for kernel module building?
Apr
18
answered How to prepend a particular text file contents to every text file in a directory and its subdirectories?
Apr
18
answered What is meant by “a system call” if not the implementation in the programing language?
Apr
17
revised Does `sl` ever show the current directory?
(the old way would recurse until it ran ls)