A fix is available
APAR status
Closed as program error.
Error description
In ksh, if IFS is used to specify an Input Field Separator, the read command will drop the final occurrence of the IFS if it is escaped with a '\' - # print -r 'A\::B:\::' | IFS=: read a remainder # print -r ">>$a<< >>$remainder<<" >>A:<< >>B<< The escaped "\:" after the letter B was removed as if it were an IFS (Input Field Separator). It should have given the output: >>A:<< >>B:<<
Local fix
Problem summary
'print' command will not give correct output, when used with Input Field Separator. It removes escaped trailing input field separator.
Problem conclusion
Code has been changed to handle trailing Input Field Separator correctly when used with print command.
Temporary fix
Comments
APAR Information
APAR number
IV05183
Reported component name
AIX 5.3
Reported component ID
5765G0300
Reported release
530
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Submitted date
2011-08-09
Closed date
2011-08-09
Last modified date
2013-04-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX 5.3
Fixed component ID
5765G0300
Applicable component levels
R530 PSY U844852
UP11/10/07 I 1000
PTF to Fileset Mapping
U844852 bos.rte.shell 5.3.11.7
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11P","label":"APARs - AIX 5.3 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"530","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
08 April 2013