aboutsummaryrefslogtreecommitdiff
path: root/presets/addtworows.sh
blob: 1e97395e34e4ca079147bf046c04363e8d27774f (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

rows="........................................................................\n........................................................................\n"

for file in $(ls) 
do
  [[ "$(echo "$file" | cut -d'.' -f2)" == "txt" ]] && echo -e "$rows$(cat $file)" > $file
done