Date: Fri, 30 Oct 2020 09:48:42 +0000 (UTC) From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367160 - head/usr.bin/fetch Message-ID: <202010300948.09U9mgPL000341@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fernape (ports committer) Date: Fri Oct 30 09:48:41 2020 New Revision: 367160 URL: https://svnweb.freebsd.org/changeset/base/367160 Log: fetch(1): Fix style Fix style problems introduced in r367141: * s/Ql/Pa/ for file names * Break line properly in macro * Properly generate back slash character Not bumping .Dd Reported by: xtouqh@icloud.com, steffen@sdaoden.eu Approved by: 0mp@ Differential Revision: https://reviews.freebsd.org/D26946 Modified: head/usr.bin/fetch/fetch.1 Modified: head/usr.bin/fetch/fetch.1 ============================================================================== --- head/usr.bin/fetch/fetch.1 Fri Oct 30 09:40:55 2020 (r367159) +++ head/usr.bin/fetch/fetch.1 Fri Oct 30 09:48:41 2020 (r367160) @@ -389,14 +389,14 @@ Silently try to fetch the URLs passed as parameters. The first one will fail. If the second URL succeeds the third one will not be tried: .Bd -literal -offset indent -$ fetch -1 -q https://www.freebsd.org/bad.html \\ - ftp.freebsd.org/pub/FreeBSD/README.TXT \\ +$ fetch -1 -q https://www.freebsd.org/bad.html \e + ftp.freebsd.org/pub/FreeBSD/README.TXT \e https://www.fake.url fetch: https://www.freebsd.org/bad.html: Not Found .Ed .Pp Be verbose when retrieving the -.Ql README.TXT +.Pa README.TXT file: .Bd -literal -offset indent $ fetch -v ftp.freebsd.org/pub/FreeBSD/README.TXT @@ -408,8 +408,9 @@ README.TXT .Ed .Pp Quietly save the -.Ql README.TXT file as -.Ql myreadme.txt +.Pa README.TXT +file as +.Pa myreadme.txt and do not delete the output file under any circumstances: .Bd -literal -offset indent fetch -o myreadme.txt -q -R ftp.freebsd.org/pub/FreeBSD/README.TXT @@ -424,7 +425,7 @@ $ fetch -s ftp.freebsd.org/pub/FreeBSD/README.TXT .Ed .Pp Restart the transfer of the -.Ql README.TXT +.Pa README.TXT file and retry the transfer upon soft failures: .Bd -literal -offset indent $ fetch -a -r http://ftp.freebsd.org/pub/FreeBSD/README.TXT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010300948.09U9mgPL000341>