Server IP : 172.16.15.8 / Your IP : 3.15.17.60 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 (0755) : /etc/php.d/../mc/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
#! /bin/sh # *** External Formatter (Indenter) for GNU Midnight Commander. # arguments: # $1 - Name of the file being edited # $2 - Name of the file to be processed exec >/dev/null case `echo $1 |sed 's/^.*\.//'` in c|h) # ftp://ftp.gnu.org/pub/gnu/indent/ # Please add options to your ~/.indent.pro, not here. indent "$2" ;; C|cc|CC|cxx|CXX|cpp|CPP) # http://astyle.sourceforge.net/ astyle "$2" ;; java|JAVA) # http://astyle.sourceforge.net/ astyle --style=java --mode=java "$2" ;; htm|html|HTM|HTML) # http://tidy.sourceforge.net/ tidy -q -m -ascii -wrap 80 "$2" ;; *) # http://www.gnu.org/software/coreutils/ fmt "$2" >"$2.tmp" && rm -f "$2" && mv -f "$2.tmp" "$2" ;; esac