summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-15 10:27:20 +0100
committerSimon Rettberg2019-03-15 10:27:20 +0100
commitcd69c29733d65b6b5948a9cc9fb9e252653bc289 (patch)
tree4125aca5f3b40149ad6d0b4a6b9ab4ab491a4402 /README
parentSimplify checks, consider zram as volatile too (diff)
downloadslx-tools-cd69c29733d65b6b5948a9cc9fb9e252653bc289.tar.gz
slx-tools-cd69c29733d65b6b5948a9cc9fb9e252653bc289.tar.xz
slx-tools-cd69c29733d65b6b5948a9cc9fb9e252653bc289.zip
Invert logic and use || for $x = ${x#<prefix>} checks
This makes it so that if $x starts with <prefix>, the statement after the condition is executed, which seems easier to read. i.e. [ "$x" = "${x#abc}" ] || echo "x starts with abc"
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions