diff options
Diffstat (limited to 'nocompile/bin')
-rwxr-xr-x | nocompile/bin/decode_html_entities | 4 | ||||
-rwxr-xr-x | nocompile/bin/encode_html_entities | 4 | ||||
-rwxr-xr-x | nocompile/bin/todo | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/nocompile/bin/decode_html_entities b/nocompile/bin/decode_html_entities new file mode 100755 index 0000000..08bd7c9 --- /dev/null +++ b/nocompile/bin/decode_html_entities @@ -0,0 +1,4 @@ +#!/bin/sh +sed "s/\>/>/g" \ + | sed "s/\</</g" \ + | sed "s/\&/\&/g" diff --git a/nocompile/bin/encode_html_entities b/nocompile/bin/encode_html_entities new file mode 100755 index 0000000..4cb1836 --- /dev/null +++ b/nocompile/bin/encode_html_entities @@ -0,0 +1,4 @@ +#!/bin/sh +sed "s/&/\&/g" \ + | sed "s/</\</g" \ + | sed "s/>/\>/g" diff --git a/nocompile/bin/todo b/nocompile/bin/todo new file mode 100755 index 0000000..611a25b --- /dev/null +++ b/nocompile/bin/todo @@ -0,0 +1,2 @@ +#!/bin/sh +cat -n /var/todo/$USER.txt | shuffle -f-| head -n1 |