ITEM: T7043L

Write a korn shell script and the IFS seems to be set oddly



Question:

Write a korn shell script and the IFS seems to be set oddly.

Response:


   Env:
        590 at 3.2.5
   Desc:
        Customer having problems with IFS (internal field separator)
        in ksh.
   Action:
        Told him how to see it:
                echo $IFS | od -ah
        gives octal dump format of current value.
        use control-v to insert any special character 
        (including control characters) in  a set statement 
        for the desired characters:
                IFS=".,\^M"
        where the selected characters to be set were period,
        comman and carriage return (cr is a one byte character 
        and is represented by the visible sequence "\^M".
    Next Action:
        Closing by agreement
   Test Case:
        na


Support Line: Write a korn shell script and the IFS seems to be set oddly ITEM: T7043L
Dated: April 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:35
Comments or suggestions? Contact us