mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2024-12-31 18:16:20 -05:00
13 lines
235 B
Bash
Executable File
13 lines
235 B
Bash
Executable File
#!/bin/sh
|
|
|
|
src=README.md
|
|
dst=${src}~~
|
|
|
|
for output in out/* ; do
|
|
test ! -s $output || continue
|
|
onion=`basename $output`
|
|
echo annotating: $onion
|
|
perl -pe "s!\$! :sos:! if (m!/$onion/!);" <$src >$dst
|
|
mv $dst $src
|
|
done
|