On Sat, Sep 8, 2012 at 2:42 PM, Alain Reguera Delgado <alain.reguera at gmail.com> wrote: > On 09/08/2012 04:19 PM, Akemi Yagi wrote: > >> I did not type anything. :) I simply ran the script with a '/bin/bash >> -v' (verbose) so that I can see what's happening. The above lines are >> a straight copy from the output. > > Ok. Let's break things off. > > Try the following commands, independently, one at a time, and report > what happened in each execution, please: > > 1. ${HOME}/artwork/trunk/Scripts/Bash/centos-art.sh prepare > --set-environment This added 2 more lines in the output: grep '^function ' ${FILE} | cut -d' ' -f2) grep '^function ' ${FILE} | cut -d' ' -f2) grep '^function ' ${FILE} | cut -d' ' -f2 echo $ARG | sed "s/'/\\\0x27/g") echo $ARG | sed "s/'/\\\0x27/g" echo $ARG | sed "s/'/\\\0x27/g") echo $ARG | sed "s/'/\\\0x27/g" presumably because the command had one more argument. I let it run for 4 hrs before terminating. Akemi