about POSIX sh 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
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
; ``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
.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
On Sat, Jun 3, 2017 at 8:51 PM, L A Walsh wrote:
>
>
> John McKown wrote:
>
>> On Sat, Jun 3, 2017 at 4:48 PM, L A Walsh > b...@tlinx.org>> wrote:
>>
>>
>
> OK, I did a port of BASH to an IBM "mainframe" system (IBM z) which uses
>&g
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
On Tue, May 23, 2017 at 1:55 PM, John McKown
wrote:
>
>
> On Tue, May 23, 2017 at 1:39 PM, Chet Ramey wrote:
>
>>
>> The best thing to read to learn about how the shell is structured -- other
>> than the code itself -- is the unedited version of the chapter I wrote
``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
00 U.S.; example (not
recommendation): http://www.thinkmate.com/system/rax-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
ee Software Foundation, Inc.
License GPLv3+: GNU 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
in, then you are doomed to disappointment. 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
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
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
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
token is
> "/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
e
> 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
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
On Wed, Apr 13, 2016 at 6:45 AM, Pierre Gaston
wrote:
>
>
> On Wed, Apr 13, 2016 at 2:34 PM, John McKown > wrote:
>
>> On Wed, Apr 13, 2016 at 1:10 AM, Geir Hauge wrote:
>>
>> ...
>>
>>
>>> though printf should be preferred over echo:
&
ve 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
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
ht you were "funnin"
him. But this page looks like it _might_ be an interesting start:
https://gist.github.com/sshaw/8017032
--
A fail-safe circuit will destroy others. -- Klipstein
Maranatha! <><
John McKown
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
r is expected or me being 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
man has the intellect of a lobotomized turtle.
Maranatha! <><
John McKown
erner Heisenberg is driving 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
ntenance -- 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
hich 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
5 at 8:31 AM, Greg Wooledge 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 &q
ing
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
in the APL language as my has [grin]. 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
ont of the pattern to
"anchor" 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
wrote:
> Sorry about delay, for some reason Google pu
ext:
> http://gnu-bash.2382.n7.nabble.com/count-tp16675p16683.html
> Sent from 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
to 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
store 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
Domain Name Registrar
>\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
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
= ?
+++ 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
d 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
echo -n "${x}" > sample.first #put it in file
echo -n "${x}" > sample.second # do it again
}
I'm really not sure if the -n switch is the right thing to do on the
"echo" commands or not
--
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
n 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
ondition 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
ocumented that aliases
are not expanded when quoted.
--
If you sent twitter messages while exploring, are you on a textpedition?
He's about as useful as a wax frying pan.
10 to the 12th power microphones = 1 Megaphone
Maranatha! <><
John McKown
t;
> Expected:
>
> $ "a nonexistent command name with spaces"
> bash: a nonexistent command name with spaces: command not found...
>
--
If you sent twitter messages while exploring, are you on a textpedition?
He's about as useful as a wax frying pan.
10 to the 12th power microphones = 1 Megaphone
Maranatha! <><
John McKown
ot; (at least to
me) files.
>
>
> --
> Eric Blake eblake 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
could see the top command.
> Thousands of bash were being opened, I would report 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
ontribute?
>
> Thank U
--
He's about as useful as a wax frying pan.
10 to the 12th power microphones = 1 Megaphone
Maranatha! <><
John McKown
On Tue, Feb 24, 2015 at 2:10 PM, Chet Ramey 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
PLv3+: GNU 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.
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
PLv3+: GNU 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.
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
49 matches
Mail list logo