help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXT]Re: Suddenly, periods / dots in variable values are converted t


From: Chandler
Subject: Re: [EXT]Re: Suddenly, periods / dots in variable values are converted to space
Date: Mon, 23 Jan 2023 17:16:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.0

Greg Wooledge wrote on 1/23/23 3:08 PM:
1) You forgot to quote.
2) You have somehow managed to set IFS to a value which contains .
To fix this:
1) Use quotes when they are needed.  less "$File1" will suppress all
    IFS-based splitting.
2) IFS=$' \t\n' or unset IFS
I see... I've gotten into some bad habits then, I guess!
Yes, found some bad code setting IFS=. for some reason, fixed!
Thank you!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]