String Concatenation with $'\NNN' Error

2009-03-16 Thread tony
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/loc

read built-in will not read inside while loop

2005-10-10 Thread Tony Thedford
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -D

inconsistent output for cd

2007-04-02 Thread Tony Balinski
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: cygwin Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' -DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -D

Re: inconsistent output for cd

2007-04-03 Thread Tony Balinski
al ambiguity that > exists when you use a directory selected from CDPATH. The illogical thing > is that POSIX requires the output even when the shell is not interactive. > > > Does POSIX forbid an option "to turn this superfluous output off", as > > Tony Balinski put i

how do I write a shell script to batch rename files in a directory?

2008-08-29 Thread Tony Zanella
Hello all, I have a directory listing of files like: img.bc03.547.1.gif? I need to trim the last character off for each file in the dir. I know I can use: mv img.bc03.547.1.gif? img.bc03.547.1.gif to rename each by hand, but I want to do this as a batch. I know it would start with: for files in *;

implementing flow control in bash

2008-10-21 Thread Tony Zanella
for i in `find . -name \*gif`; do identify -format "$i %w" $i if [%w > 570]; done > results.txt Any suggestions? Tony

Re: implementing flow control in bash

2008-10-22 Thread Tony Zanella
Works perfectly, thanks! I'll study up on the syntax... Tony On Tue, Oct 21, 2008 at 5:30 PM, Bernd Eggink <[EMAIL PROTECTED]> wrote: > Tony Zanella schrieb: >> >> Hello all, >> I'm sure this isn't a bug, but just my inability to wrap my head >> ar

Re: loop through records

2009-03-11 Thread Tony Zanella
awk may be a help here. Using it, you can refer to fields, like so: $ cat f1 187431346 0323 mirrored 11866 187431346 0324 mirrored 11866 187431346 0325 mirrored 11866 187431346 0326 mirrored 11866 $ awk '{print $1;print$2}' f1 187431346 0323 187431346 0324 187431346 0325 187431346 0326 On Wed

Re: Bash Bug: Concatenating String with $'\NNN' Error

2009-03-16 Thread Tony Thedford
I just sent a bug report with the above description; please ignore.. I'm an idiot. There is no error actually my math was bad.

Bash 4 cursor in my prompt

2009-05-19 Thread Tony Leding
This ever get solved? I had the same issue in bash v3.2x and the root cause was the formatting. Let me know if you want more info - Thanks. --

Re: Bash 4 cursor in my prompt

2009-05-20 Thread Tony Leding
ters. Once I made these slight changes, it solved the issue... -- *** * | * * | Tony Leding * * | | | Software Engineer, Cisco Systems * *:|: :|: | CMTS-BU / Cable System Test * * :|||: :|||:| Office: 408-525-2995

bash script problems

2005-05-11 Thread Tony Jo
$val1 and $val2. They look like integers to me. If anyone could help me, it would be greatly appreciated. Thanks in advance Tony ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: bash script problems

2005-05-11 Thread Tony Jo
"Chris F.A. Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When quoting parts of a script or error messages, please be > accurate (cut and paste rather than retyping). You used: > > temp=`expr $val1 + $val2` > > or you wouldn't have received that error. The line

Re: bash script problems

2005-05-11 Thread Tony Jo
"William Park" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Note the difference between `...` and '...' Sorry if they came out weird on the newsgroups, but they were meant to be single quotes ___ Bug-bash mailing list Bug-bash@gnu.o

Re: bash script problems

2005-05-11 Thread Tony Jo
Oh sorry. Didn't look at it closely enough. Thanks, that did solve most of the issues, but now I'm just wondering if the following is valid? temp=`expr $val1 + $val2` $temp > file Everything besides this seems to be working fine now ___ Bug-bash ma

Re: bash script problems

2005-05-11 Thread Tony Jo
Got it working. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Issue about AIX

2019-03-06 Thread REIX, Tony
Hi, On AIX, like Solaris, when root, the test "test -x /tmp/AFile" returns true even if the file is not executable. This issue is there for ages. Here attached is the patch for fixing it for v5.0 . Would you mind adding it to the source code of bash ? Thanks/Regards, Tony --

RE: Issue about AIX

2019-03-07 Thread REIX, Tony
file that is being executed. EINVAL The value of the Mode argument is invalid. Cordialement, Tony Reix tony.r...@atos.net ATOS / Bull SAS ATOS Expert IBM Coop Architect & Technical Leader Office : +33 (0) 4 76 29 72 67 1 rue de Provence - 38432 Échirolles - France www