* bin/network-down, bin/network-up: trim trailing whitespace

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-07 00:25:57 -05:00
commit 6f11953518
4 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"`
unit="kB/s" unit="kB/s"
if [ "$1" = "--detail" ]; then if [ "$1" = "--detail" ]; then
ifconfig "$interface" | sed 's/^\s*//' | sed 's/\s*$//' ifconfig "$interface" | sed 's/\s*$//'
exit 0 exit 0
fi fi

View file

@ -25,7 +25,7 @@ interface=`/sbin/route -n | tail -n 1 | sed "s/^.* //"`
unit="kB/s" unit="kB/s"
if [ "$1" = "--detail" ]; then if [ "$1" = "--detail" ]; then
ifconfig "$interface" | sed 's/^\s*//' | sed 's/\s*$//' ifconfig "$interface" | sed 's/\s*$//'
exit 0 exit 0
fi fi

View file

@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
if vim --version | grep -qs +folding 2>&1; then 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 elif which sensible-pager >/dev/null 2>&1; then
byobu-status --detail | sensible-pager byobu-status --detail | sensible-pager
else else

4
debian/changelog vendored
View file

@ -17,7 +17,7 @@ byobu (2.1) unreleased; urgency=low
scripts, no need for FORCE scripts, no need for FORCE
* bin/ip-address: --detail shows all inet addr's in ifconfig * bin/ip-address: --detail shows all inet addr's in ifconfig
* bin/logo: --detail should be empty * 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/reboot-required: add a --short option, which prints Yes or No
* bin/time: add --short which actually prints the current time * bin/time: add --short which actually prints the current time
rather than the screen escape sequence 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/users: grep out the grep statement in the ps
* bin/whoami: print /etc/passwd info on --detail * bin/whoami: print /etc/passwd info on --detail
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 00:11:51 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 00:25:39 -0500
byobu (2.0-0ubuntu1) karmic; urgency=low byobu (2.0-0ubuntu1) karmic; urgency=low