Re: Bash file to variable string problem -- must be simple. What am I missing?
- Date: Sun, 03 Mar 2019 22:40:54 +0100
- From: "Thomas Schmitt" <scdbackup@xxxxxxx>
- Subject: Re: Bash file to variable string problem -- must be simple. What am I missing?
> 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 :)