Re: Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread John McKown
about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Strange file -i

2015-03-04 Thread John McKown
redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: BUG: echo call function

2015-03-04 Thread John McKown
this bug. One question, I tried to fix myself but I did not really bash the error files. In this case how it could contribute? Thank U -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: BUG: echo call function

2015-03-04 Thread John McKown
! John McKown

Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Yes, I'm a lazy typist. :-) -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Fwd: Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Yes, I'm a lazy typist. :-) -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Is this a design oversight? BASH redirection failure

2015-02-24 Thread John McKown
On Tue, Feb 24, 2015 at 2:10 PM, Chet Ramey chet.ra...@case.edu wrote: On 2/24/15 1:32 PM, John McKown wrote: I run with set -o noclobber. I know to use | to redirect stdout and overwrite an existing file. But I often want to redirect both stdout and stderr to the same file. Which I do

Re: Sourcing a file ending in \newline disables aliases for 1 command

2015-04-03 Thread John McKown
to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Integer Overflow in braces

2015-08-18 Thread John McKown
is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Please take a look at this bug

2015-08-23 Thread John McKown
a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Feature Request re: syslog and bashhist

2015-08-12 Thread John McKown
. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! John McKown

Re: Why does a Bash shell script write prompts followed by reads and do it right?

2015-08-31 Thread John McKown
undys, Cliven, Ted and Al. Great guys to look up to. > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: bash closes fd twice.

2015-12-11 Thread John McKown
= ? +++ exited with 0 +++ ​ -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [PATCH/RFC] do not source/exec scripts on noexec mount points

2015-12-12 Thread John McKown
ec" mountpoint handy here at home.​ -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: rewriting a readonly var should exit

2015-12-15 Thread John McKown
>\o/ Hosting For Geeks and more... > Gandi.net No Bullshit ! > > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: Uniq pattern

2015-12-31 Thread John McKown
as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-19 Thread John McKown
t rearranges the output into the order you wanted it to be in. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-21 Thread John McKown
in].​ Hum, SQL set logic might cause similar "damage". -- Computer Science is the only discipline in which we view adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: Only one Friday 13th coming in 2016

2015-12-21 Thread John McKown
Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-21 Thread John McKown
m the Gnu - Bash mailing list archive at Nabble.com. > > -- Computer Science is the only discipline in which we view adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: count

2015-12-21 Thread John McKown
chor" it at the start of the line created by "find". OK, it probably would have run correctly without it, but I'm a bit anal about such things. On Mon, Dec 21, 2015 at 7:45 AM, John McKown <john.archie.mck...@gmail.com> wrote: > Sorry about delay, for some reason Goog

Re: count

2015-12-21 Thread John McKown
Wooledge <wool...@eeg.ccf.org> wrote: > On Mon, Dec 21, 2015 at 08:21:04AM -0600, John McKown wrote: > > find . -maxdepth 2 -mindepth 2 -type f -name '*.csv' -o -name '*.txt' |\ > > egrep '^\./[0-9]' |\ > > xargs awk 'ENDFILE {print FILENAME "\t" FNR;}' |\ > > s

Re: count

2015-12-21 Thread John McKown
ew adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: combine and ..

2016-01-19 Thread John McKown
ng down the autobahn. A police officer pulls him over. The officer says, "Excuse me, sir, do you know how fast you were going?" "No," replies Dr. Heisenberg, "but I know where I am." Computer Science is the only discipline in which we view adding a new wing to a building as being maintenance -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. He's about as useful as a wax frying pan. Maranatha! <>< John McKown

Re: Add a mirror to github

2016-02-15 Thread John McKown
The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown

Re: How to lock a terminal

2016-02-15 Thread John McKown
ing stupid, or > something else going on. > > Regards, > > Nick > -- > Gosh that takes me back... or is it forward? That's the trouble with > time travel, you never can tell." > -- Doctor Who "Androids of Tara" > > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown

Re: bash "while do echo" can't function correctly

2016-04-13 Thread John McKown
is that? ​I have used it myself in special cases, such as wanting leading zeros (i=0;printf '%03d\n' "${i}";) > > -- > Geir Hauge > > -- How many surrealists does it take to screw in a lightbulb? One to hold the griffon and one to fill the bathtub with brightly colored LEDs. Maranatha! <>< John McKown

Re: bash "while do echo" can't function correctly

2016-04-13 Thread John McKown
On Wed, Apr 13, 2016 at 6:45 AM, Pierre Gaston <pierre.gas...@gmail.com> wrote: > > > On Wed, Apr 13, 2016 at 2:34 PM, John McKown <john.archie.mck...@gmail.com > > wrote: > >> On Wed, Apr 13, 2016 at 1:10 AM, Geir Hauge <geir.ha...@gmail.com> wrote: &g

Re: scripts one after the other

2016-03-26 Thread John McKown
nue on to the second section echo "Congratulations, you decided to continue on!" ​ -- How many surrealists does it take to screw in a lightbulb? One to hold the giraffe and one to fill the bathtub with brightly colored power tools. Maranatha! <>< John McKown

Re: [Help-bash] help

2016-03-06 Thread John McKown
he /bin/bash. Also notice that when I run t1.sh, you see it in the list as "/bin/bash ./t1.sh"​. But notice when I run t2, the PID is the same as the top /bin/bash and there is _no_ sign of "t2" itself. That's because the current BASH program is running the function "in line". So an "exit" in the function is like typing "exit" at the prompt and "the terminal goes away" > -- > A fail-safe circuit will destroy others. -- Klipstein > > Maranatha! <>< > John McKown > -- A fail-safe circuit will destroy others. -- Klipstein Maranatha! <>< John McKown

Re: bug in [ -f file ] test

2016-07-28 Thread John McKown
t 20:56, Charles Daffern wrote: > > > > As far as I'm aware, the inability to use symlinks owned by another user > in a sticky directory is a security feature of some kernels. It helps to > prevent symlink attacks. > > > > -- Klein bottle for rent -- inquire within. Maranatha! <>< John McKown

Re: echo -n

2017-02-02 Thread John McKown
another told me "echo is _evil_". You could use "printf" instead: $ printf '%s\n' '-n' -n -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: echo -n

2017-02-02 Thread John McKown
isappointment. If you want a replacement for "echo -n", you might try using a function (defined in ~/.bashrc) similar to: function echo-n() { printf '%s ' "$@" | sed -r 's/ $//'; }​ > > Thanks & Regards > --Jyoti > > -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: Bash leaks heredoc fd to child processes

2017-01-17 Thread John McKown
er code : > > What is `pvs'? > > ​Probably a part of LVM (Logical Volume Manager), VS(8) System Manager's Manual PVS(8) NAME pvs — report information about physical volumes ​ -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown

Re: Not operator (~) fail on arithmetic expansion.

2016-11-27 Thread John McKown
t; "/home/user") > > > > Repeat-By: > > Use $((~0)) (without spaces) to generate the error. > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: [PATCH] Add-rm-rf-as-examples-loadables-rm.c

2016-10-31 Thread John McKown
xecution time > by > 6-7%. > ​Am I understand you correctly? You say that it __increases__ overall execution time? That is, using rm as a builtin makes the script take more time to execute (slows it down)?​ > > Tim > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: Could bash do what make does?

2016-12-03 Thread John McKown
he features make provides, and send patches to add said > functionality to bash. > > [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html > [2] https://www.gnu.org/software/make/ > [3] http://lists.gnu.org/archive/html/bug-make/ > > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown

Re: Bash monopolizing or eating the RAM MEMORY

2017-03-20 Thread John McKown
xs4-1160v4​. Honestly: you need to change your algorithm for processing your problem. In your example, perhaps a series of nested loops. -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown

Re: popd with garbage parameter removes entry from dirs but doesn't cd.

2017-03-07 Thread John McKown
GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [tsh009@it-johnmckown-linux tmp]$ [/transcript] -- "Irrigation of the land with seawater desalinated by fusion power is ancient. It's called 'rain'." -- Michael McClary, in alt.fusion Maranatha! <>< John McKown

Re: Interested in contributing to Bash

2017-05-23 Thread John McKown
``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~ > chet/ > > -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Re: Interested in contributing to Bash

2017-05-23 Thread John McKown
On Tue, May 23, 2017 at 1:55 PM, John McKown <john.archie.mck...@gmail.com> wrote: > > > On Tue, May 23, 2017 at 1:39 PM, Chet Ramey <chet.ra...@case.edu> wrote: > >> >> The best thing to read to learn about how the shell is structured -- other >> than

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-03 Thread John McKown
e mobile (smartphone, tablet) back end work. There is another mid-range IBM system which also uses EBCDIC, but I don't know if it has a BASH port or not.​ -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Re: RFE: Please allow unicode ID chars in identifiers

2017-06-04 Thread John McKown
On Sat, Jun 3, 2017 at 8:51 PM, L A Walsh <b...@tlinx.org> wrote: > > > John McKown wrote: > >> On Sat, Jun 3, 2017 at 4:48 PM, L A Walsh <b...@tlinx.org > b...@tlinx.org>> wrote: >> ​ >> > > ​OK, I did a port of BASH to an IBM "mainf

Re: A background ssh can take over the tty from bash?

2017-06-10 Thread John McKown
t.tmp 127.0.0.1 sleep & Try: ​ ssh -f -o ControlMaster=no -o ControlPath=/tmp/socket.tmp 127.0.0.1 sleep -- Windows. A funny name for a operating system that doesn't let you see anything. Maranatha! <>< John McKown

Re: why not update bash syntax while maintaining backwards compatibility?

2019-02-15 Thread John McKown
`Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/ > > -- I just burned 2000 calories! That's the last time I'll nap with brownies in the oven. Maranatha! <>< John McKown

Re: Are there any plans for more readable, modern syntaxes for If statements?

2020-03-12 Thread John McKown
stead of adding these alternatives? > I think this would need to go to the bash-dev list. Have you tried tcsh? I understand it tries to be C like. -- People in sleeping bags are the soft tacos of the bear world. Maranatha! <>< John McKown

Re: Are there any plans for more readable, modern syntaxes for If statements?

2020-03-13 Thread John McKown
scripts? > > This seems like a fairly big proposal for something I'm not even seeing > a definite argument as being actually wrong. > > -- > Eli Schwartz > Arch Linux Bug Wrangler and Trusted User > > -- People in sleeping bags are the soft tacos of the bear world. Maranatha! <>< John McKown