repo: uritools action: commit revision: path_from: revision_from: 22c62e0621cd87fc5cb54fa2d2e499becc1ae23f: path_to: revision_to:
commit 22c62e0621cd87fc5cb54fa2d2e499becc1ae23f Merge: 506c894 74a05d2 Author: epochDate: Sat Jul 29 05:18:49 2023 +0000 Merge branch 'master' of ssh://git.thebackupbox.net/uritools diff --cc urititle index e89a7df3ab4c91b5e48e2a28adcc7d866584208f,bf72f392fd028974dda701ab0d143aa1ec51b5d4..36668ea099982d7f9cdeaceb2dd8556074a4c651 --- a/urititle +++ b/urititle @@@ -104,11 -102,10 +104,10 @@@ dns else server="" fi - dig $class $type "$path" +short $server | tr '\n' ' ' - echo # the tr above strips out the trailing \n + dig $class $type "$path" +short $server | tr '\n' ' ' | sed 's/ $/\n/' ;; ftp) - curl -g "$uri" 2>&1 | tail -n1 + timeout 5 curl -g "$uri" 2>&1 | tail -n1 ;; gopher) if [ "$qs" ];then
-----END OF PAGE-----