Mandrew

pckautomod.sh

Aug 27th, 2012
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. #!/bin/bash
  2. SEARCH=$1
  3. PREFIX=$2
  4. POSTFIX=$3
  5. cat ~/Source/AHK/Scripts/PokécheckAutomod.ahk | grep "${SEARCH}"  | head -1 | sed -e "s/:.*:.*:://" -e "s/^/${PREFIX}/" -e "s/$/${POSTFIX}/"
Advertisement
Add Comment
Please, Sign In to add comment