Server IP : 127.0.0.2 / Your IP : 3.144.226.0 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/bin/ |
Upload File : |
#!/bin/sh FILES="" MLEVEL="0" LMODE="async" FLAGS= usage='echo "usage: dotty [-V] [-lm (sync|async)] [-el (0|1)] <filename>"' if [ "x$DOTTYOPTIONS" != "x" ]; then set -- $DOTTYOPTIONS $* fi while [ "x$1" != 'x' ]; do case $1 in -V) echo "dotty version 96c (09-24-96)" FLAGS=$FLAGS" -V" shift ;; -f) shift loadfile=$1 shift ;; -lm) shift LMODE=$1 if [ "x$LMODE" != 'xsync' -a "x$LMODE" != 'xasync' ]; then $usage exit 1 fi shift ;; -el) shift MLEVEL=$1 if [ "x$MLEVEL" != 'x0' -a "x$MLEVEL" != 'x1' ]; then $usage exit 1 fi shift ;; -) FILES=`echo $FILES \"$1\"` shift ;; -*) $usage exit 1 ;; *) FILES=`echo $FILES \"$1\"` shift ;; esac done if [ "x$DOTTYPATH" != 'x' ]; then LEFTYPATH="$DOTTYPATH:$LEFTYPATH" fi CMDS="" CMDS="dotty.protogt.layoutmode = '$LMODE';" CMDS=`echo $CMDS dotty.mlevel = $MLEVEL";"` if [ "x$loadfile" != 'x' ]; then CMDS=`echo $CMDS load \("'"$loadfile"'"\)";"` fi if [ "x$FILES" = 'x' ]; then FILES=null fi FUNC="dotty.createviewandgraph" for i in $FILES; do CMDS=`echo $CMDS $FUNC \($i, "'"file"'", null, null\)";"` done leftypath=`which lefty` if [ ! -f "$leftypath" ]; then echo "dotty: cannot locate the lefty program" echo " make sure that your path includes" echo " the directory containing dotty and lefty" exit 1 fi exec $leftypath $FLAGS -e " load ('dotty.lefty'); checkpath = function () { if (tablesize (dotty) > 0) remove ('checkpath'); else { echo ('dotty: cannot locate the dotty scripts'); echo (' make sure that the environment variable LEFTYPATH'); echo (' is set to the directory containing dotty.lefty'); exit (); } }; checkpath (); dotty.init (); monitorfile = dotty.monitorfile; $CMDS txtview ('off'); "