Re: IFS variable in bash

2003-10-11 Thread Michael Hipp
Matthew Carpenter wrote: 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

Re: IFS variable in bash

2003-10-10 Thread Michael Hipp
Matthew Carpenter wrote: I show: IFS=$' \t\n' Try IFS=$'\n' Thank you. I'll try it later. Michael ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Re: IFS variable in bash

2003-10-10 Thread Douglas J Hunley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Hipp wrote: Matthew Carpenter wrote: I show: IFS=$' \t\n' Try IFS=$'\n' Thank you. I'll try it later. If that dont cut it: IFS=CTRL-VENTER where everything in is the keys to press - -- Douglas J Hunley (doug at linux-sxs.org) -

IFS variable in bash

2003-10-09 Thread Michael Hipp
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

Re: IFS variable in bash

2003-10-09 Thread Matthew Carpenter
I show: IFS=$' \t\n' Try IFS=$'\n' 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