RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-216 hours agoChoose your pilllemmy.worldimagemessage-square38fedilinkarrow-up1145arrow-down18
arrow-up1137arrow-down1imageChoose your pilllemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-216 hours agomessage-square38fedilink
minus-squareOwOarchist@pawb.sociallinkfedilinkEnglisharrow-up1·3 hours agoI should make a Schrodinger’s Linux. Every command you enter has a 50% chance of being ignored, and the output of all commands is hidden, so you never know whether the command was actually executed or not.
minus-squareMyk@kzoo.tolinkfedilinkarrow-up1·3 hours ago@OwOarchist With bash. All things are possible. alias cat=schrodinger.sh #!/usr/bin/env bash set -euo pipefail if (( RANDOM % 2 )); then echo "meow" else command cat "$@" fi
I should make a Schrodinger’s Linux.
Every command you enter has a 50% chance of being ignored, and the output of all commands is hidden, so you never know whether the command was actually executed or not.
@OwOarchist
With bash. All things are possible.
alias cat=schrodinger.sh#!/usr/bin/env bash set -euo pipefail if (( RANDOM % 2 )); then echo "meow" else command cat "$@" fi