mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2025-07-11 00:39:34 -04:00
12 lines
235 B
Bash
Executable file
12 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
|