script to add notes to ips

This commit is contained in:
vulpine 2020-08-31 22:02:41 -04:00
parent 936b3d5703
commit abffccb0d0
1 changed files with 18 additions and 0 deletions

18
mark Executable file
View File

@ -0,0 +1,18 @@
tee -a $(grep -rl "$1" index) <<EOF
================================================================================
This ip belongs to:
EOF
cat | tee -a $(grep -rl "$1" index)
tee -a $(grep -rl "$1" index) <<EOF
================================================================================
EOF