Google
  Web www.spinics.net

Re: files and directories with spaces in bash script

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


Karthik Vishwanath wrote:
On Mon, 26 Mar 2007, at 5:52pm, Robin Doer wrote to karthikv@xxxxxxxxxxxxxxxxxx:

Karthik Vishwanath schrieb:

#!/bin/bash
# set_idv3_tags.sh

IFS=\n # Not tested!!!

Tried all variants:
IFS=\n
IFS="\n"
IFS='\n'
IFS='
'


They don't work.

try this variant:
IFS=$'\n'

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Site Home]     [Audio]     [Hams]     [Kernel Newbies]     [Memory]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

  Powered by Linux