You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
misc/shell_scripts/social_grep

14 lines
377 B

#!/bin/sh
# http://fabien.benetou.fr/Tools/Shell#Scripting
# shell prototype
# if 0 args display help
# $#==0 echo "usage: $0 pattern [network] [user]" ; exit; ?
grep $@ ~/irclogs/*/*
#$2 for server limitations
#$3 for user limitations
#save params in ~/$0_history
echo $(date +%s) $@ >> ~/SocialMemorization_history
# history | grep SocialMemorization.sh
## cheaper version