diff --git a/README.md b/README.md index 2728f62..b8e2123 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,6 @@ Useful utility scripts. |---|---| |newsh ["command"]|Create executable `sh` script. Optionally add `command`.| |newbash ["command"]|Create executable `bash` script. Optionally add `command`.| -|date-show ["command"]|Show a time and date window.| +|date-show|Show a time and date window.| +|pam-say |Tells Pamela to say something| diff --git a/src/newbash b/src/newbash index ca36360..6b8568a 100755 --- a/src/newbash +++ b/src/newbash @@ -11,4 +11,4 @@ echo "#!/bin/bash" > "$1" echo "" >> "$1" echo "$2" >> "$1" -chmod u+x "$1" +chmod +x "$1" diff --git a/src/newsh b/src/newsh index e2312e1..2231967 100755 --- a/src/newsh +++ b/src/newsh @@ -11,4 +11,4 @@ echo "#!/bin/sh" > "$1" echo "" >> "$1" echo "$2" >> "$1" -chmod u+x "$1" +chmod +x "$1" diff --git a/src/pam-say b/src/pam-say new file mode 100755 index 0000000..3848265 --- /dev/null +++ b/src/pam-say @@ -0,0 +1,6 @@ +#!/bin/sh + +_command="echo ""$*"" | festival --tts" +ssh pamela "$_command" + +