Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- case "$1" in
- "1") OS="СПЕРМО" ;;
- "2") OS="ПРЫЩЕ" ;;
- "3") OS="БЫДЛО" ;;
- esac
- case "$2" in
- "") N=7 ;;
- *) N=$2 ;;
- esac
- if [ "$3" = "bb" ]; then
- xclip -o | sed -r "s/([^\ \(\)\-\.«»:,1234567890]{"$N",300})/\[b\]"$OS"\U\1\[\/b\]/g" | xclip -i
- else
- xclip -o |sed -r "s/([^\ \(\)\-\.«»:,1234567890]{"$N",300})/**"$OS"\U\1**/g" | xclip -i
- fi
- xclip -o
- echo
Add Comment
Please, Sign In to add comment