home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / less.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2003-08-12  |  215b  |  10 lines

  1. #!/bin/sh
  2. # Shell script to start Vim with less.vim.
  3. # Read stdin if no arguments were given.
  4.  
  5. if test $# = 0; then
  6.   vim -c 'so $VIMRUNTIME/macros/less.vim' -
  7. else
  8.   vim -c 'so $VIMRUNTIME/macros/less.vim' "$@"
  9. fi
  10.