view bin/makelist @ 8497:2c419f225667

<izabera> ` echo \'for file do mapfile -t lines < "$file"; for (( i = ${#lines[@]} -1; i >= 0; i-- )) do printf "%s\\n" "${lines[i]}"; done done\' >> bin/tac
author HackBot
date Thu, 16 Jun 2016 09:40:02 +0000
parents b1b9a2c7a4f7
children ea53c45c49aa
line wrap: on
line source

file="bin/$1"; shift; cp bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done