dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE

hexview (186B)


      1 #!/usr/bin/env sh
      2 
      3 # Description: View a file in hex
      4 # Requires: xxd and $PAGER
      5 #
      6 # Shell: POSIX compliant
      7 # Author: Arun Prakash Jana
      8 
      9 if ! [ -z "$1" ]; then
     10     xxd "$1" | "$PAGER"
     11 fi