Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
199 B
1
Indexable
Never
while read line
do
    if [[ ${line:0:1} == '>' ]]
    then
        outfile=${line#>}.temp
        echo $line > $outfile
    else
        echo $line >> $outfile
    fi
done < glimmer.1.tmp