| bio | website | blog.denniswilliamson.us |
|---|---|---|
| location | United States | |
| age | ||
| visits | member for | 2 years, 9 months |
| seen | 2 hours ago | |
| stats | profile views | 140 |
|
Jan 21 |
comment |
Grep huge number of patterns from huge file @TeresaeJunior: adding -v (-Fxv) may take care of that. |
|
Jan 19 |
comment |
Disable bash tab completion To have it only affect Bash, instead of including that line in your ~/.inputrc file, add this to the appropriate shell startup file: bind 'set disable-completion on' |
|
Jan 18 |
comment |
Moving average on a log file with awk or other unix utilities? ratio == quotient, from Wiktionary: "(arithmetic) The relative magnitudes of two quantities (usually expressed as a quotient)." |
|
Jan 18 |
comment |
Moving average on a log file with awk or other unix utilities? What is the purpose of the echo and tr in the assignment of bel? In Bash (and some other shells) you can do bel=$'\007'. Another method: bel=$(echo -n '\007') |
|
Jan 18 |
comment |
Moving average on a log file with awk or other unix utilities? But that's not a moving ratio. |
|
Aug 27 |
comment |
How can I diagnose and repair missing drive space? Bingo! Thanks! This is something I know about, but I completely failed to consider it. This is the third mistake I've made this week! |
|
Aug 27 |
awarded | Scholar |
|
Aug 27 |
accepted | How can I diagnose and repair missing drive space? |
|
Aug 26 |
revised |
How can I diagnose and repair missing drive space? additional information |
|
Aug 25 |
asked | How can I diagnose and repair missing drive space? |
|
Aug 24 |
awarded | Nice Answer |
|
Aug 18 |
awarded | Yearling |
|
Jul 29 |
awarded | Student |
|
Jul 29 |
asked | What is the interaction of the rsync --size-only and --sparse options? |
|
Jun 25 |
comment |
How can I scroll within the output of my watch command? @bbaja42: It fills the screen, leaving a couple of lines for the output of watch itself. $LINES is an automatic variable that Bash and other shells use to contain the number of lines that the screen can display. You could tail any number you want. |
|
Jun 4 |
comment |
How do you make RPROMPT in zsh update itself on every enter? @user5383: You should ask that on meta.unix.stackexchange.com or meta.stackoverflow.com. I don't know (or only vaguely know) the answer. |
|
May 10 |
comment |
determining path to sourced shell script ...the data file in a fixed location rather than trying to come up with a method of determining where the script lives and accessing the data (or config, etc.) relative to that. |
|
May 10 |
comment |
determining path to sourced shell script Sourcing it works for me without the shebang. > tcsh --version\n
tcsh 6.14.00 (Astron) 2005-03-25 (i486-intel-linux) options wide,nls,dl,al,kan,rh,nd,color,filec. As far as sourcing it non-interactively, the source file is included into the parent file as if it were actually a part of it (indistinguishably so) as you mention in your original question. I think your positional parameter workaround is probably the best approach. However, the usual question is "why do you want to do that" and the usual answer to the reply is "don't do that - do this instead" where "this" is often to store... |
|
Apr 28 |
revised |
best way to search my shell's history fixed typo |
|
Apr 28 |
comment |
best way to search my shell's history @imz: C-q will "unfreeze". It and C-s are the usual software flow control characters which were once useful to manually interrupt (pause) the flow of output when slow serial connections were used. Now output is so fast in most cases that what you want to see when you press C-s has already scrolled by. stty -ixon turns off software flow control. |
