view bin/tac @ 8389:e35dcf20b965

<izabera> ` paste <(head -c 2000 /dev/urandom | base64) # there you go moon_
author HackBot
date Mon, 06 Jun 2016 17:36:11 +0000
parents ff8fd5c8898c
children
line wrap: on
line source

#!/bin/bash
for file do mapfile -t lines < "$file"; for (( i = ${#lines[@]} -1; i >= 0; i-- )) do printf "%s\n" "${lines[i]}"; done done