Skip to content
Snippets Groups Projects
Commit 028ca0ee authored by Fernando K's avatar Fernando K
Browse files

Adiciona gerador de hash

parent 733651b1
No related branches found
No related tags found
No related merge requests found
mkdir -p fontes-com-hash
for arq in fontes/*; do
arq=$(basename $arq)
cat </dev/null >fontes-com-hash/$arq
n=1
while IFS="" read -r line || [ -n "$line" ]; do
hashed=$(bash fontes/hash.sh fontes/$arq 1 $n)
echo "$hashed <@\$`printf %02d $n`\$@> $line" >>fontes-com-hash/$arq
n=$((n+1))
done <fontes/$arq
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment