From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.20 i686; Nav) Description of problem: The first $ in each of these three lines from the init script for at-3.1.8-22.2 seems sort of odd: echo -n $"Starting $prog: " echo -n $"Stopping $prog: " echo $"Usage: $0 {start|stop|restart|condrestart|status}" Version-Release number of selected component (if applicable): at-3.1.8-22.2 How reproducible: Always Steps to Reproduce: 1. /etc/rc.d/init.d/atd stop or 2. /etc/rc.d/init.d/atd start Actual Results: 1. $Stopping atd: [ OK ] 2. $Starting atd: [ OK ] Expected Results: 1. Stopping atd: [ OK ] 2. Starting atd: [ OK ] Maybe this is on purpose, but it sure seems strange... Obviously this is only cosmetic.
What shell are you using? Seems to work for an updated 6.2....
I'm using bash-1.14.7-23.6x as root's login shell, but I fail to see how that is relevant, as the script is run through #!/bin/bash The init script for atd says, for instance: echo -n $"Starting $prog: " what is that $ doing there? Should it not be: echo -n "Starting $prog: " For instance, from /etc/rc.d/init.d/cron: echo -n "Starting cron daemon: "
The $ before a string is used for gettext so that non-English environments have that Start and Stop message translated to different languages. Unfortunately, bash 1.14 doesn't support this, and the init script that was sent out should have been tweaked for 6.2 to remove this cosmetic (but completely harmless) bug. the bash2 supplied with 6.2 will do the gettext. I don't recommend symlinking bash to bash2 on a 6.2, and this is a low-priority cosmetic bug. Thanks for pointing this out.