commit 249795d625649636b18e52e05cb5ccbdea76f05c
parent d5e69cb1b743dfc92b56c6f2b2ed12be05e6e39a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 20:09:03 +0200
Add hurlo() for sending hurl output to file
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.profile b/.profile
@@ -97,6 +97,12 @@ tsplit() {
fi
}
+hurlo() {
+ out="${1##*/}"
+ [ -z "$out" ] && out="hurl_out"
+ hurl "$1" > "$out"
+}
+
alias w3m='w3m -B'
alias w3mtor='torsocks w3m -B "$@"'
ddg() {