6,874 reputation
926
bio website
location Ottawa, Canada
age
visits member for 5 years, 4 months
seen 2 days ago

Developer at Pythian.
Big Tcl and Perl fan.
Enjoy Ruby and JavaScript too.


2d
comment Is there a Way to Retrieve a Lost/Forgotten KeePass Password?
@Moshe, there's a certain expectation on answerers that you actualy answer the question. The whole point of the StackExchange sites is that the most helpful answers are voted up by the community, and less helpful answers ... well ... we all have some duds in our portfolios
Dec
22
comment Interactive Script; Prompt within a loop
I don't think you understand the question: where in your answer are you reading from the file?
Dec
22
comment Interactive Script; Prompt within a loop
Please add your comments to my comments, impossible to follow the conversation in 2 places.
Dec
22
comment Interactive Script; Prompt within a loop
What happens if you put this code in a while read loop? How do the 2 read commands interact?
Dec
22
comment Interactive Script; Prompt within a loop
Does not address the fundamental problem.
Dec
22
answered Interactive Script; Prompt within a loop
Dec
19
comment Nmap runs slower as root than normal user
I'm aware. This makes the links obvious for other readers looking for answers or thinking about answering
Dec
19
comment Nmap runs slower as root than normal user
copied from stackoverflow stackoverflow.com/q/27568826/7552
Dec
19
answered How do I find files and total their sizes?
Dec
16
answered Type file content, pipe some actions and put result back
Dec
11
revised Add directory only once to any variable
added 219 characters in body
Dec
11
comment Add directory only once to any variable
Also, get out of the habit of using ALLCAPSVARS. Leave those for the shell. One day you'll accidentally write PATH=foo and then wonder why your script is broken
Dec
11
comment Add directory only once to any variable
With bash, don't need eval: local value="${!1}" -- that's "variable indirection", see gnu.org/software/bash/manual/…
Dec
11
answered Add directory only once to any variable
Dec
10
awarded  Excavator
Dec
10
comment OSX bash command line countdown timer
Time to pick a better editor.
Dec
10
comment cd to newest directory
The trailing slash on my glob pattern limits the results to directories: demo: cd to a directory with both files and subdirectories and echo * versus echo */
Dec
9
answered cd to newest directory
Dec
9
answered Having trouble replacing a specific hyphen in directories that follow a specific format in Bash
Dec
9
comment OSX bash command line countdown timer
Are you sure you have all the quotes matching. The code I posted works (with bash version 4 at any rate)