Du figlet artisanal - retour accueil
git clone git://bebou.netlib.re/figlet-maison
Log | Files | Refs |
figlet-maison (299B)
1 #! /bin/sh 2 3 path="${1:?missing path to font dir}" 4 [ ! -d "$path" ] \ 5 && { printf "%s not a directory\n" "$path"; 6 exit 1; } 7 8 cat | 9 grep -o . | 10 sed -E "s,.,$path/&.txt," | 11 tr '\n' '\0' | 12 xargs -0 paste -d'\0' 13 # column -ts ' ' -o '' 14 15 #find -name "a.txt" | xargs -n4 paste 16 #paste 1.txt 2.txt