Bug 5935

Summary: Possible shell bug
Product: [Retired] Red Hat Linux Reporter: Clay Jackson <clayj>
Component: bashAssignee: Cristian Gafton <gafton>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-15 20:08:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Clay Jackson 1999-10-14 05:23:22 UTC
After successful (no errors reported) upgrade from RH 6.0
to RH 6.1 -

The following code:
    ECHO="/bin/echo"
    export ECHO
    IFS=`$ECHO " \t\n\c"`
    IFS_OLD="$IFS"
    IFS_TMP="$IFS"
    IFS_NEW=`$ECHO "\t\c"`
returns:
    foo: /bi: No such file or directory

Please tell me what gives!
(This code fragment is from MicroLite's BackupEdge product).

Comment 1 Alan Cox 1999-10-15 20:08:59 UTC
Shell utils 2.0 follows the standard more closely and does not do the
quoting of \ that this script seems to expect. This is correct
standards behaviour now.

The script should probably be using /usr/bin/printf