Closed TekWizely closed 2 days ago
cat bug.txt
RUN apt-get update && \
apt-get -y install --no-install-recommends
./bash-tpl_patched bug.txt | /bin/dash
RUN apt-get update && \
$ apt-get -y install --no-install-recommends
Closing this MR as its not a working solution to the problem ...
@0xEAB I've re-opened this MR after having a chance to do some research - I've implemented a printf %b
compatible escape function which I hope doesn't break other users once its released :)
I'd appreciate if you had a had a chance to give it another try!
Works for me.
closes #25
Looks like I was supposed to be using
%b
all along:It appears that many shells treat %s and %b similarly, which is likely why I didn't discover the issue earlier.
As a posix printf standard, this should just be an improvement, correcting behavior for shells like DASH.
cc: @0xEAB lemme know if you have time to give this a test drive.