Changeset c771eee0 in freewrt for package/mksh


Ignore:
Timestamp:
Feb 17, 2007, 8:23:30 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
2fb5d1a
Parents:
c62f947
Message:

fix the 'hd' alias for hexdumping to not go beyond 80c screen width
from mksh-current cvs

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2048 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/mksh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/mksh/Makefile

    rc62f947 rc771eee0  
    99PKG_NAME=               mksh
    1010PKG_VERSION=            28.9.20070216
    11 PKG_RELEASE=            1
     11PKG_RELEASE=            2
    1212#PKG_SOURCE=            ${PKG_NAME}-R28.cpio.gz
    1313PKG_SOURCE=             mksh_${PKG_VERSION}.tar.gz
  • package/mksh/patches/patch-dot_mkshrc

    rc62f947 rc771eee0  
    11$FreeWRT$
    2 --- mksh-28.9.20070118.orig/dot.mkshrc  2007-01-04 23:41:13.000000000 +0000
    3 +++ mksh-28.9.20070118/dot.mkshrc       2007-01-29 19:38:21.000000000 +0000
    4 @@ -2,7 +2,7 @@
     2--- mksh-28.9.20070216.orig/dot.mkshrc  2007-01-04 23:41:13.000000000 +0000
     3+++ mksh-28.9.20070216/dot.mkshrc       2007-02-17 19:22:40.000000000 +0000
     4@@ -1,8 +1,8 @@
     5-# $MirOS: src/bin/mksh/dot.mkshrc,v 1.4 2007/01/04 23:40:50 tg Exp $
     6+# $MirOS: src/bin/mksh/dot.mkshrc,v 1.6 2007/02/17 06:34:46 tg Exp $
    57 #-
    68 # Add user-defined additions at the end, to prevent abortion on failure.
     
    1113        local pfx=~ wd=${PWD:-$(pwd)}
    1214        [[ ${wd#$pfx} = $wd || $pfx = ?(/) ]] || wd=\~${wd#$pfx}
    13 @@ -23,7 +23,7 @@ export EDITOR HOSTNAME MKSH PS1 USER
     15@@ -23,10 +23,10 @@ export EDITOR HOSTNAME MKSH PS1 USER
    1416 alias l='/bin/ls -F'
    1517 alias la='l -a'
    1618 alias ll='l -l'
    1719-alias lo='la -lo'
     20-[ -x /usr/bin/hd ] || eval alias hd=\''hexdump -e '\''\'\'''\''"%08.8_ax' \
     21-       '  " 8/1 "%02X " " - " 8/1 "%02X "'\''\'\'''\'' -e '\''\'\'''\'\" \
     22-       '  |" "%_p"'\''\'\'''\'' -e '\''\'\'''\''"|\n"'\''\'\'''\'' '\'
    1823+alias lo='la -l'
    19  [ -x /usr/bin/hd ] || eval alias hd=\''hexdump -e '\''\'\'''\''"%08.8_ax' \
    20         '  " 8/1 "%02X " " - " 8/1 "%02X "'\''\'\'''\'' -e '\''\'\'''\'\" \
    21         '  |" "%_p"'\''\'\'''\'' -e '\''\'\'''\''"|\n"'\''\'\'''\'' '\'
     24+[ -x /usr/bin/hd ] || eval alias hd="'hexdump -e '\\''\"%08.8_ax  \" 8/1" \
     25+       '"%02X " " - " 8/1 "%02X "'"'\\'' -e '\\''"'"  |" "%_p"'"'\\''" \
     26+       "-e '\\''"'"|\n"'"'\\'' '"
     27 
     28 # strip comments (and leading/trailing whitespace if IFS is set) from
     29 # any file(s) given as argument, or stdin if none, and spew to stdout
Note: See TracChangeset for help on using the changeset viewer.