commit 2f9c80e32d2a499dcadd8d58c9e3d615fd3af0a6
parent e074f72911fa6272b862cb6df95f4b16fa147f2a
Author: Jacob R. Edwards <n/a>
Date: Wed, 30 Nov 2022 19:03:47 -0600
Fix bug in netname script
In net, and therefor com aswell, only notfound was defined.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/local/bin/bin/netname b/local/bin/bin/netname
@@ -61,7 +61,7 @@ fn org {
fn net {
? notfound '^No match for '
- gen
+ def
}
fn com {
@@ -79,7 +79,7 @@ while (name = `{ read }) {
status = 'Invalid name'
}
if not {
- # Prevent very high-frequentcy requests
+ # Prevent very high-frequency requests
if (! ~ $#time 0 && test $time -eq `{ date +%s })
sleep 1
for (tld in $tlds) @{