RE: Who handles "fails to build" problems for bash?

2009-09-02 Thread Tovrea, George W (US SSA)
Tried adding each of -lcurses and -lncurses with the following results: /home/users/tovrea/local/sgi6/bin/gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -L/home/users/tovrea/local/sgi6/lib/gcc/mips-sgi-irix6.5/4.3.0 -L/home/users/tovrea/local/sgi6/lib/

Re: printf does not always display warning messages on write errors

2009-09-02 Thread Chet Ramey
Stefano Lattarini wrote: > Hi everybody. > > I found the following bug while running some of my bash scripts on > GNU/Linux with stdout redirected to /dev/full, to see if write errors > where correctly detected and reported. > > It turned out that, on write errors, the printf builtin correctly >

Re: ulimit and ssh?

2009-09-02 Thread Bob Proulx
peter360 wrote: > So, just to make sure I really understand this, here is how I understand ssh > worked: even thought I gave the command bash -c 'ulimit -a' as 3 separate > strings, Yes. > ssh (either the client or the server) actually concatenate them into > one, No. It isn't put into one stri

Re: ulimit and ssh?

2009-09-02 Thread peter360
Bob, Thanks for the quick reply! A local unix guru also told me the same thing. So, just to make sure I really understand this, here is how I understand ssh worked: even thought I gave the command bash -c 'ulimit -a' as 3 separate strings, ssh (either the client or the server) actually concate

Re: ulimit and ssh?

2009-09-02 Thread Bob Proulx
peter360 wrote: > Can someone explain this to me? Why am I not seeing correct results from > ulimit after ssh into localhost? Thanks! > > $ ssh localhost bash -c 'ulimit -a' > unlimited You have insufficiently quoted your argument to ssh. This is causing bash not to get "ulimit -a" but to get

ulimit and ssh?

2009-09-02 Thread peter360
Can someone explain this to me? Why am I not seeing correct results from ulimit after ssh into localhost? Thanks! $ ssh localhost bash -c 'ulimit -a' unlimited but $ bash -c 'ulimit -a' core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority

printf does not always display warning messages on write errors

2009-09-02 Thread Stefano Lattarini
Hi everybody. I found the following bug while running some of my bash scripts on GNU/Linux with stdout redirected to /dev/full, to see if write errors where correctly detected and reported. It turned out that, on write errors, the printf builtin correctly returns a non-zero status (thus my scrip

Check out my photos on Facebook

2009-09-02 Thread Mahaveer Darade
Hi bug-bash@gnu.org, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Mahaveer To sign up for Facebook, follow the link