On 9/12/07, Michael Williams <[EMAIL PROTECTED]> wrote:
> Forgive me for saying so, and please appreciate both the sarcasm and
> irony, but I've never been one for "that's the way it's always
> been". I mean, if we all thought that way, we'd be a bunch of
> bloodletting flat-earthers. . .no? ;)
Package: openssh-client
Version: 1:4.6p1-5
Severity: normal
File: /usr/bin/ssh
Why does this script not finish, only when using su, and only when
using ssh?
# cat script
su my_username_here <<\EOEOE
set -x
echo $- #no -e here, see
remote=my.remote.host.here
false
ssh $remote false #Why does this
2007-09-12, 10:00(-07), chitti:
>
> I need to seperate the UDP and TCP ports from the /etc/services files.
> any pointers or help on scripting this in bash would be helpful
> thanks
awk '
NF == 0 || $1 ~ /^#/ {next}
$2 ~ /\/tcp$/ {print > "services.tcp"; next}
$2 ~ /\/udp$/ {print > "service
chitti wrote:
> I need to seperate the UDP and TCP ports from the /etc/services files.
> any pointers or help on scripting this in bash would be helpful
Open ended questions such as that are not the greatest way to get
going. It is better if you read one of the many tutorials and howtos
that are
Jack Lloyd wrote:
Description:
The time builtin seems to be confused if something is
backgrounded, and prints immediately the time rather than
waiting for the job to complete. I found this very unexpected.
Repeat-By:
$ time sleep 5
# hit C-Z to stop the job before 5 se
I need to seperate the UDP and TCP ports from the /etc/services files.
any pointers or help on scripting this in bash would be helpful
thanks
--
View this message in context:
http://www.nabble.com/bash-scripting-help-tf4430729.html#a12639912
Sent from the Gnu - Bash mailing list archive at Nabbl
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDI
"Chris F.A. Johnson" <[EMAIL PROTECTED]> writes:
>> $ let tmp="foo.a"+0
>> $ let ++i
>> $ echo $i
>> 0
>I agree that it is a bug, but it is one that will never bother me
>because I always use the POSIX arithmetic syntax:
happens there too:
$ : $(( tmp=foo.a+0 ))
bash: tmp=foo.a+0 : synta
Two words: history and POSIX. It's been done that way for more
than 20
years, so it was standardized that way. Changing it would break
too many
existing scripts.
Forgive me for saying so, and please appreciate both the sarcasm and
irony, but I've never been one for "that's the way it's
Eric Blake wrote:
> According to Michael Williams on 9/12/2007 4:06 AM:
> > Being that I'm not a bash (or any other shell for that matter) guru, is
> > there any reason that parsing occurs this way? Why is it not more like
> > other programming languages?
>
> Two words: history and POSIX. It's b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Michael Williams on 9/12/2007 4:06 AM:
> Being that I'm not a bash (or any other shell for that matter) guru, is
> there any reason that parsing occurs this way? Why is it not more like
> other programming languages?
Two words: history a
On Sep 12, 2007, at 2:56 AM, Bob Proulx wrote:
The [ is a shell builtin, not a shell
metacharacter. Shell metacharacters do not need to be separated by
whitespace but the test program needs to be apart or it won't be
parsed right. That is why you are seeing "[-d" not found. It is not
a paren
Hi,
i updated bash-3.2 to patch level 25 and i get the following error:
INIT: Entering runlevel: 1
INIT: Id "s0" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
my inittab entry is:
s0:123:respawn:/sbin/getty -L -n -l /bin/bash ttyS0 115200 linux
gett
On 2007-09-11, Enrico Scholz wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i686
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu'
> -DCONF_VEN
14 matches
Mail list logo