From ea2dd9974b5b25a206048b2747e9184c3e875f8d Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 28 Sep 2011 23:05:15 +0200 Subject: sanitized bash wrapper scripts, reformulated BUGS section in manual --- doc/ranger.pod | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'doc/ranger.pod') diff --git a/doc/ranger.pod b/doc/ranger.pod index b59f7a40..ddd8dada 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -785,9 +785,9 @@ original one. function ranger-cd { tempfile='/tmp/chosendir' /usr/bin/ranger --choosedir="$tempfile" "${@:-$(pwd)}" - if [ -f "$tempfile" -a "$(cat "$tempfile")" != "$(pwd | tr -d "\n")" ]; then - cd "$(cat "$tempfile")" - rm "$tempfile" + if [ -f "$tempfile" -a "$(cat -- "$tempfile")" != "$(echo -n `pwd`)" ]; then + cd -- "$(cat "$tempfile")" + rm -f -- "$tempfile" fi } @@ -826,8 +826,7 @@ copy, run: =head1 BUGS -Please report bugs here: L - -In many cases, ranger prints more diagnostics information when you run it with -the B<--debug> option. Please include as much relevant information as possible. +Report bugs here: L +Please include as much relevant information as possible. For the most +diagnostic output, run ranger like this: C -- cgit 1.4.1-2-gfad0