Advertisement
howtophil

2ascii-inform6.sh

Sep 5th, 2020
1,852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/bash
  2. for file in *.jpg *.JPG ; do
  3.     clear
  4.     echo "Normal"
  5.     jp2a --height=$1 "$file" | sed 's/$/\[line break\]\"\;/' |sed 's/^/\tsay \"/'
  6.     read
  7.     clear
  8.     echo "Inverted"
  9.     jp2a -i --height=$1 "$file" | sed 's/$/\[line break\]\"\;/' |sed 's/^/\tsay \"/'
  10.     read
  11. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement