aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-09-04 14:47:09 -0300
committerEuAndreh <eu@euandre.org>2022-09-04 14:47:09 -0300
commit72b20935866c22daa4fd75bd35229aa36e96f5d5 (patch)
tree9baa97bd243833b9194b85787dc366ed762bdb71 /bin
parentbin/pb: Remove symlink (diff)
downloaddotfiles-72b20935866c22daa4fd75bd35229aa36e96f5d5.tar.gz
dotfiles-72b20935866c22daa4fd75bd35229aa36e96f5d5.tar.xz
git mv bin/html bin/htmlesc
Diffstat (limited to 'bin')
-rwxr-xr-xbin/htmlesc (renamed from bin/html)8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/html b/bin/htmlesc
index f3f23de..d9c59bd 100755
--- a/bin/html
+++ b/bin/htmlesc
@@ -5,8 +5,8 @@ set -eu
usage() {
cat <<-'EOF'
Usage:
- html [-e|d]
- html -h
+ htmlesc [-e|d]
+ htmlesc -h
EOF
}
@@ -26,13 +26,13 @@ help() {
oij
- $ printf 'a > 5 && !b' | html
+ $ printf 'a > 5 && !b' | htmlesc
a &gt; 5 &amp;&amp; !b
Unescape the content from a file:
- $ html -d < file.html
+ $ htmlesc -d < file.html
EOF
}