On Thu, 09 Oct 2003 20:36:47 -0500 Michael Hipp <[EMAIL PROTECTED]> wrote:
I don't seem to understand the IFS variable in bash. I know it's the internal field separator and it defaults to SPACE TAB NEWLINE. But I want to set it to just NEWLINE.
I've tried "\n" '\n' and just \n all to no avail. Those mostly seem to change it to "backslash enn". Surely there is some way to just set it to newline.
> I show: IFS=$' \t\n' > > Try IFS=$'\n'
Thanks, Matthew, that worked perfectly.
Michael
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users