diff --git a/bin/network-down b/bin/network-down index a37b437e..66f084ee 100755 --- a/bin/network-down +++ b/bin/network-down @@ -24,7 +24,7 @@ interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"` unit="kB/s" if [ "$1" = "--detail" ]; then - ifconfig "$interface" | sed 's/^\s*//' | sed 's/\s*$//' + ifconfig "$interface" | sed 's/\s*$//' exit 0 fi diff --git a/bin/network-up b/bin/network-up index 97a6e129..693642cf 100755 --- a/bin/network-up +++ b/bin/network-up @@ -25,7 +25,7 @@ interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"` unit="kB/s" if [ "$1" = "--detail" ]; then - ifconfig "$interface" | sed 's/^\s*//' | sed 's/\s*$//' + ifconfig "$interface" | sed 's/\s*$//' exit 0 fi diff --git a/byobu-status-detail b/byobu-status-detail index ef13fef6..ce70d6a2 100755 --- a/byobu-status-detail +++ b/byobu-status-detail @@ -18,7 +18,7 @@ # along with this program. If not, see . if vim --version | grep -qs +folding 2>&1; then - byobu-status --detail | vim -c "set foldmethod=indent" -c "set foldminlines=0" -R - + byobu-status --detail | vim -c "set foldmethod=indent" -c "set foldminlines=0" -c "set foldnestmax=1" -R - elif which sensible-pager >/dev/null 2>&1; then byobu-status --detail | sensible-pager else diff --git a/debian/changelog b/debian/changelog index d3957006..4cee3746 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,7 +17,7 @@ byobu (2.1) unreleased; urgency=low scripts, no need for FORCE * bin/ip-address: --detail shows all inet addr's in ifconfig * bin/logo: --detail should be empty - * bin/network-down, bin/network-up: trim leading and trailing whitespace + * bin/network-down, bin/network-up: trim trailing whitespace * bin/reboot-required: add a --short option, which prints Yes or No * bin/time: add --short which actually prints the current time rather than the screen escape sequence @@ -26,7 +26,7 @@ byobu (2.1) unreleased; urgency=low * bin/users: grep out the grep statement in the ps * bin/whoami: print /etc/passwd info on --detail - -- Dustin Kirkland Thu, 07 May 2009 00:11:51 -0500 + -- Dustin Kirkland Thu, 07 May 2009 00:25:39 -0500 byobu (2.0-0ubuntu1) karmic; urgency=low