Re: Variable assigned to grep output - missing letter n!

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



> [scarolan@server:~]$ echo $myvar
> Lorem ipsum dolor sit amet, co sectetur adipisci g elit.
> lots of letter  !
>
> Weird huh?

Ok, I'm a bonehead; I had this in my bash history:

IFS='\n'

That seems to have been the cause of the missing n's.  Now the next
question would be, how can I include the \n characters in my variable
string, without fudging with $IFS?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux