[CentOS] Variable assigned to grep output - missing letter n!
Sean Carolan
scarolan at gmail.comWed Jul 20 19:53:06 UTC 2011
- Previous message: [CentOS] Variable assigned to grep output - missing letter n!
- Next message: [CentOS] Variable assigned to grep output - missing letter n!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> [scarolan at 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?
- Previous message: [CentOS] Variable assigned to grep output - missing letter n!
- Next message: [CentOS] Variable assigned to grep output - missing letter n!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list