2,996 reputation
1017
bio website mikelward.com
location Mountain View, CA
age 34
visits member for 4 years, 2 months
seen Nov 19 at 3:28

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


Feb
8
awarded  Nice Answer
Feb
7
comment How to disable window caption bar in GNU Screen?
Ah, yes, I see what you mean now. Sorry, no easy way to do that as far as I can tell.
Feb
7
comment How can I read man pages in my native language?
You're right, it looks like Korean hasn't been supported since 2005. Try asking here: answers.launchpad.net/ubuntu/+source/manpages-ko/+addquestion or join up to contribute here: translations.launchpad.net/ubuntu/maverick/+translations
Feb
7
answered How to disable window caption bar in GNU Screen?
Feb
7
answered How can I read man pages in my native language?
Feb
6
answered Can you recommend a password generator?
Feb
6
answered Mobile broadband not connecting
Feb
4
comment Retaining bash prompt colors when starting a screen session
Does echo $PS1 print the same thing inside screen and outside screen?
Feb
4
answered Retaining bash prompt colors when starting a screen session
Feb
3
comment Overwrite previous output in Bash instead of appending it
+1 Good answer, plus I never knew about SECONDS.
Feb
3
comment Overwrite previous output in Bash instead of appending it
Yep, better to use \r. See my answer.
Feb
3
answered Overwrite previous output in Bash instead of appending it
Feb
3
comment Need help fixing a strange path error in bash
Please re-run your tests, but first run echo $PATH, typeset -p PATH, and type app1 in the same terminal, and paste the output of those as well as app1, /home/user/folder/app1, cd, and ./app1.
Feb
3
comment Need help fixing a strange path error in bash
Can you please edit your question to show exactly what you are typing and the error you see? Confirming what directory you are in and how the command is being run should help.
Feb
3
comment Need help fixing a strange path error in bash
What is gdw? Is it app1 or something else?
Feb
3
comment What is the difference between ./ and sh to run a script?
+1 for being the only one to concisely state that the file must be executable.
Feb
3
answered What is the difference between ./ and sh to run a script?
Feb
3
comment A problem with Bash script
I'm not sure that works. Your code suggests IFS= and -print0 will work together, but they don't seem to when I run find . -print0 | while IFS= read -r file; do echo "'$file'"; done.
Feb
3
comment A problem with Bash script
Of course, that's assuming the OP only cares about directories one level down, not recursively in the whole tree.
Feb
3
comment A problem with Bash script
You're forgetting about bash arrays. exes=( *.exe ) will do the right thing, provided you expand it using "${exes[@]}".