[CentOS-docs] Translation of centos-art.sh script

Sat Sep 8 20:19:31 UTC 2012
Akemi Yagi <amyagi at gmail.com>

On Sat, Sep 8, 2012 at 11:32 AM, Alain Reguera Delgado
<alain.reguera at gmail.com> wrote:
> On 09/08/2012 12:39 PM, Akemi Yagi wrote:
>> I used another VM running the .ja version of CentOS-6 and did it from
>> scratch. I ran 'centos-art.sh prepare' in a verbose mode.
> Could you create another fresh VM for CentOS using English (en_US.UTF-8)
> as default language? Then do all the preparation stuff through English
> language. Later, once the preparation stuff is done, change the value of
> your LANG environment variable to your native locale (ja_JP.UTF-8, I guess):
> LANG=ja_JP.UTF-8

Although I installed the VM with Japanese as the default language, I have:

$ echo $LANG

probably because I needed to select the US keyboard.

>> It ran through instantly till the end of init.sh and then would not go any
>> further at this step:

>> 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"
> Why you are putting the same lines several times here. In the scripts
> they are present only once. What do you want to mean with this? Those
> lines without closing parenthesis are indeed malformed lines. I did a
> grep through the script and didn't find such malformed lines.
> Could you be more specific about which step you are talking about and
> the meaning of such repeated lines?

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.

> The init functionality, apparently where the problem is, is the first
> file executed after executing centos-art.sh script. If there is an error
> in it, the Bash interpreter would complain about it immediately without
> getting any further.
>> It is using cpu at 30-40% and I see :
>> 2234 pts/0    S+    24:35 /bin/bash
>> /home/yagi2/artwork/trunk/Scripts/Bash/centos-art.sh help
> So did you pass the prepare step successfully?

No, it remained there for > 1 hr, so I terminated the script.