mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* bin/network-down, bin/network-up: trim trailing whitespace
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
882b1e652f
commit
6f11953518
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
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
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -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 <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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue