196 reputation
4
bio website
location New Albany, IN
age 25
visits member for 2 years, 3 months
seen Mar 20 at 20:37

I'm a builder. Specifically, I build solutions to problems using code.

But when I'm not happily immersed in something, I (board and video)game, read, and box. Come on down to Terry Middleton's boxing and say hello if you're interested.

Here's my career's page, if you're interested.


Sep
14
awarded  Supporter
Jun
13
awarded  Scholar
Jun
13
comment Reevaluate the prompt expression each time a prompt is displayed in zsh
Oh duh! I can't believe I was using double quotes instead of single quotes. Too much Windoze...
Jun
13
accepted Reevaluate the prompt expression each time a prompt is displayed in zsh
Jun
12
awarded  Student
Jun
12
comment Reevaluate the prompt expression each time a prompt is displayed in zsh
I'm following Steve's approach here. You can see the issue that %~ brings up. I'm also running some functions in the prompt.
Jun
12
answered Reevaluate the prompt expression each time a prompt is displayed in zsh
Jun
12
asked Reevaluate the prompt expression each time a prompt is displayed in zsh
Feb
29
comment Linux script or program to shorten filenames
@Kevin So do heredoc's use temp files as indicated here and a few other places? Running a quick test between a herestring and heredoc with time, I got a slightly slower time for the heredoc. Which makes sense if it dumps the contents into a temp file.
Feb
29
comment Linux script or program to shorten filenames
@Kevin I note you used <<< instead of <<. Is there a difference between the two?
Feb
29
comment Linux script or program to shorten filenames
@ChrisDown ok, so what I've called child processes is also synonymous with subshell. Huh. I always thought a subshell was another instance of the shell itself.
Feb
29
comment Linux script or program to shorten filenames
@ChrisDown for the pipemill, yes. running cat - | tail -20 in a shell, then running ps from a separate shell shows cat and tail as child processes, but does not show extra bash processes. I find this confusing, if they are subshelled.
Feb
29
comment Linux script or program to shorten filenames
@ChrisDown see here. According to the wiki article, the piped processes are forked, but it says nothing about running them in their own shells.
Feb
29
comment Linux script or program to shorten filenames
@ChrisDown Oh? I thought that heredocs created a temp file and then redirected stdin of the program. A pipe is just a redirect, so that's a wash, and it now has to spend time creating a temp file. Where did you hear this?
Feb
29
comment Linux script or program to shorten filenames
@Grimlockz This is why you don't want to do everything in a regex. You'll be happier and better off writing a script that uses regexes.
Feb
29
answered Linux script or program to shorten filenames
Dec
29
answered How do I choose specific files in a different directory using bash?
Dec
29
awarded  Teacher
Sep
30
answered What's so special about directories whose names begin with a dot?