News for hackers. Stuff that matters.
Re:Show HN: sol – A de-minifier for shell programs by yjftsjthsd-h on Wednesday September 18, 2024 @02:13PM (#41583489)
Huh, neat. So I picked that habit up from writing Dockerfiles, which does let you do

    RUN foo && \
        bar && \
        :
but not

    RUN foo &&
        bar &&
        :
(I just tested it), but more recently you can just write

    RUN <<EOF
    foo
    bar
    EOF
so with the caveat of needing to `set -e` the whole thing might be a moot point now:)

There are no comments on this comment yet.