Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.222.92.56
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0555) :  /usr/bin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/bin/ispell
#!/bin/sh

# Ispell compatibility script for Aspell

# Uncomment this (remove the leading '#') to use the Ispell key
#   mapping when checking files with the "ispell command".
#CHECK_FLAGS="--keymapping=ispell"

command=""

for p 
do
  case $p in 
  -a|-A|-l|-c|-e*|-v*|-D) command=$p ;; 
  -*                    ) ;;
  *                     ) command=${command:="-"} ;;
  esac
done

case $command in
-A          ) echo "Aspell does not support the $command mode.";;
-a|-v*      ) exec aspell "$@" ;;
-l          ) shift; exec aspell list "$@" ;;
-c          ) shift; exec aspell munch "$@" ;;
-e          ) shift; exec aspell expand "$@" ;;
-e?         ) shift; exec aspell expand `expr "x$command" : '...\(.\)'` "$@" ;;
-D          ) shift; exec aspell dump affix "$@" ;;
"-"         ) exec aspell check $CHECK_FLAGS "$@" ;;
*           ) echo "Ispell compatibility script for Aspell."
              echo "Usage: $0 [options] -a|-l|-v[v]|-c|-e[1-4]|<file>"
              exit 1 ;;
esac

Stv3n404 - 2023