|
From: | Léa Gris |
Subject: | Re: Long variable value get corrupted sometimes |
Date: | Wed, 16 Feb 2022 14:53:43 +0100 |
User-agent: | Telnet/1.0 [tlh] (PDP11/DEC) |
Le 16/02/2022 à 13:43, Greg Wooledge écrivait :
text=$(cat /tmp/foo.txt; printf x) text=${text%x}
or read -r -d '' text </tmp/foo.txt witch saves a sub-shell -- Léa Gris
[Prev in Thread] | Current Thread | [Next in Thread] |