Pretty multi-line bash
Bash line continuations are much prettier when they're column aligned.
Start file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \
tar xzf openresty-1.9.7.5.tar.gz && \
cd openresty-1.9.7.5 && \
./configure && \
make && \
make install && \
rm -rf /openresty*
End file
RUN wget https://openresty.org/download/openresty-1.9.7.5.tar.gz && \
tar xzf openresty-1.9.7.5.tar.gz && \
cd openresty-1.9.7.5 && \
./configure && \
make && \
make install && \
rm -rf /openresty*
View Diff
2,6c2,6
< tar xzf openresty-1.9.7.5.tar.gz && \
< cd openresty-1.9.7.5 && \
< ./configure && \
< make && \
< make install && \
---
> tar xzf openresty-1.9.7.5.tar.gz && \
> cd openresty-1.9.7.5 && \
> ./configure && \
> make && \
> make install && \
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 76 remaining solutions by signing in and submitting your own entry