$ ./guess_the_languageProgramming Languages
Programming Languages · hard · #639

Which programming language is this?

shopt -s nullglob
diff <(sort old.txt) <(sort new.txt) > changes.txt
while read -r user; do
  echo "missing: $user"
done < <(comm -23 <(sort expected.txt) <(sort actual.txt))

Answer: Bash

shopt -s and <( ... ) process substitution fed via done < <(...) are Bash-only; plain sh has neither and zsh has no shopt.
Play Programming Languages ▸