Server IP : 62.72.28.201 / Your IP : 18.188.223.120 Web Server : LiteSpeed System : Linux in-mum-web1113.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u249650955 ( 249650955) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /etc/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