Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 106,722 of 107,822    |
|    alex to All    |
|    Re: [bash] read text from file    |
|    07 Jan 25 12:21:11    |
      From: 1j9448a02@lnx159sneakemail.com.invalid              Il 24/12/24 11:51, Lem Novantotto ha scritto:       > Il Tue, 24 Dec 2024 11:21:33 +0100, alex ha scritto:       >       >> $ cat file.txt       >> aaa       >> bbb       >> ccc       >>       >> OK       >>       >> $ echo $(cat file.txt)       >> aaa bbb ccc       >>       >> Why?       >       > 'Cause you didn't quote the variable.       >       > $ echo "$(cat file.txt)"       > aaa       > bbb       > ccc              thanks              --- SoupGate-DOS v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca