~johanvandegriff/unix-shell-programming-revised-edition-programs

unix-shell-programming-revised-edition-programs/see_all -rw-r--r-- 177 bytes
fc214385Johan Vandegriff added other old scripts, some newer ones too 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/bin/bash
r=$RANDOM
for f in `find`
do
  #echo "$f" | grep "[Jj][Pp][Gg]$" || convert "$f" "$r" && f="$r"
  echo "$f" | grep "[Jj][Pp][Gg]$" && jp2a "$f" && read a
done
rm $r