Web lists-archives.com

Re: Bash file to variable string problem -- must be simple. What am I missing?




Hi,

deb wrote:
> Two adjoining spaces. :-)

Really tricky are file names containing newline characters.

Your use case might already balance on the border line where a more
straightforward programming language than bash should be considered and
a fully capable file content protocol should be defined.
(Protocol candidates would be: Shell-style quotation and line continuation,
or the good old hollerith string representation.)


Have a nice day :)

Thomas