=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== mgetty-1.2.1/Makefile-422- mv -f $$file tmp-noident; \ mgetty-1.2.1/Makefile:423: f=`basename $$file .h`; \ mgetty-1.2.1/Makefile-424- sed -e "s/^#ident\(.*\)$$/static char sccs_$$f[] =\1;/" <tmp-noident >$$file; \ ############################################## mgetty-1.2.1/Makefile-473- for i in `find . -name .files -print | sed -e 's;^./;;'` ; do \ mgetty-1.2.1/Makefile:474: cat $$i | sed -e '/^\.files/d' -e 's;^;'`dirname $$i`'/;' ; \ mgetty-1.2.1/Makefile-475- done ; \ ############################################## mgetty-1.2.1/contrib/autoprint.sh-59- FAX=$i mgetty-1.2.1/contrib/autoprint.sh:60: RES=`basename $FAX | sed 's/.\(.\).*/\1/'` mgetty-1.2.1/contrib/autoprint.sh-61- ############################################## mgetty-1.2.1/contrib/dvi-fax-62-do mgetty-1.2.1/contrib/dvi-fax:63: NAME=`basename $i .dvi` mgetty-1.2.1/contrib/dvi-fax-64- dvips -P dfaxhigh $NAME.dvi -o $NAME.ps ############################################## mgetty-1.2.1/contrib/faxdvi2.perl-90- { mgetty-1.2.1/contrib/faxdvi2.perl:91: die "$0: Unknown option `$_', try `--help'\n"; mgetty-1.2.1/contrib/faxdvi2.perl-92- } ############################################## mgetty-1.2.1/contrib/faxdvi2.perl-154- if $comment{$_} ne ''; mgetty-1.2.1/contrib/faxdvi2.perl:155: $alias{$_} = `$command`; mgetty-1.2.1/contrib/faxdvi2.perl-156- chop $alias{$_}; ############################################## mgetty-1.2.1/contrib/faxdvi2.perl-233- mgetty-1.2.1/contrib/faxdvi2.perl:234:system ("$dvips @DVIPS -o $output $dvi_file") mgetty-1.2.1/contrib/faxdvi2.perl-235- && &bye ("$0: DVIPS failed on `$dvi_file'\n"); mgetty-1.2.1/contrib/faxdvi2.perl-236- mgetty-1.2.1/contrib/faxdvi2.perl:237:system ("$gs -dNOPAUSE -sOUTPUTFILE=$output%07d.g3 $output quit.ps") mgetty-1.2.1/contrib/faxdvi2.perl-238- && &bye ("$0: Ghostscript failed for some reason\n"); ############################################## mgetty-1.2.1/contrib/faxdvi2.perl-246- { mgetty-1.2.1/contrib/faxdvi2.perl:247: system ("faxspool $_ @pages\n") mgetty-1.2.1/contrib/faxdvi2.perl:248: && &bye ("$0: Sending `$dvi_file' to `$_' failed\n"); mgetty-1.2.1/contrib/faxdvi2.perl-249- } ############################################## mgetty-1.2.1/contrib/faxmail-smail-61-# mgetty-1.2.1/contrib/faxmail-smail:62:addr=`echo $ADDR | sed -e 's/@fax//'` mgetty-1.2.1/contrib/faxmail-smail-63-tmp=/usr/spool/fax/tmp/$BASENAME.fax ############################################## mgetty-1.2.1/contrib/lp-fax-22-parse () { mgetty-1.2.1/contrib/lp-fax:23: echo "`expr \"$1\" : \"^[^=]*=\(.*\)\"`" mgetty-1.2.1/contrib/lp-fax-24-} ############################################## mgetty-1.2.1/contrib/lp-fax-42- mgetty-1.2.1/contrib/lp-fax:43:printer=`basename $0` mgetty-1.2.1/contrib/lp-fax-44-request=$1 ############################################## mgetty-1.2.1/contrib/lp-fax-62- to=*) mgetty-1.2.1/contrib/lp-fax:63: fax_no=`parse ${i}` mgetty-1.2.1/contrib/lp-fax-64- ;; ############################################## mgetty-1.2.1/contrib/lp-fax-68-# user = fifth field of /etc/passwd mgetty-1.2.1/contrib/lp-fax:69:user=`sed -n "s/^$name:.*:.*:.*:\(.*\):.*:.*$/\1/p" /etc/passwd` mgetty-1.2.1/contrib/lp-fax-70- ############################################## mgetty-1.2.1/contrib/lp-fax-89-# done mgetty-1.2.1/contrib/lp-fax:90: copies=`expr $copies - 1` mgetty-1.2.1/contrib/lp-fax-91-done ############################################## mgetty-1.2.1/contrib/ttyenable-33- mgetty-1.2.1/contrib/ttyenable:34: alt: gotcha=`find /dev -type c -follow|grep /dev/$token` &&\ mgetty-1.2.1/contrib/ttyenable:35: neu: gotcha=`find /dev -type c -follow|grep -w /dev/$token` &&\ mgetty-1.2.1/contrib/ttyenable-36- ############################################## mgetty-1.2.1/contrib/ttyenable-151- mgetty-1.2.1/contrib/ttyenable:152: gotcha=`find /dev -type c -follow|grep -w /dev/$token` &&\ mgetty-1.2.1/contrib/ttyenable:153: major=`ls -lL $gotcha |awk '{print $5}'|cut -f1 -d","` &&\ mgetty-1.2.1/contrib/ttyenable:154: minor=`ls -lL $gotcha |awk '{print $6}'` mgetty-1.2.1/contrib/ttyenable-155- ############################################## mgetty-1.2.1/contrib/ttyenable-194- mgetty-1.2.1/contrib/ttyenable:195: Linenum=`lookup_lab $1` mgetty-1.2.1/contrib/ttyenable-196- case $Linenum in ############################################## mgetty-1.2.1/contrib/ttyenable-198- ;; mgetty-1.2.1/contrib/ttyenable:199: [1-9]*) Entry=`sed -ne $Linenum\p $InitTab` \ mgetty-1.2.1/contrib/ttyenable:200: && tokenlist=`echo $Entry | awk -F":" '{print $4}'` mgetty-1.2.1/contrib/ttyenable-201- ;; ############################################## mgetty-1.2.1/contrib/ttyenable-241- mgetty-1.2.1/contrib/ttyenable:242: unique=`egrep -v "^[ \t]*\#" $InitTab.tmp | egrep -c "$regex"` mgetty-1.2.1/contrib/ttyenable-243- ############################################## mgetty-1.2.1/contrib/ttyenable-246- view "FATAL: Would produce multiple gettys on device /dev/$Device" mgetty-1.2.1/contrib/ttyenable:247: view "`egrep -v "^[ \t]*\#" $InitTab.tmp | egrep "$regex"`" mgetty-1.2.1/contrib/ttyenable-248- die ": switch off other devices first" ############################################## mgetty-1.2.1/contrib/ttyenable-290- case $Mode in mgetty-1.2.1/contrib/ttyenable:291: DEV) echo `lookup_dev $1` ;; mgetty-1.2.1/contrib/ttyenable:292: LAB) echo `lookup_lab $1` ;; mgetty-1.2.1/contrib/ttyenable-293- esac ############################################## mgetty-1.2.1/contrib/ttyenable-341- h) HANGUPINIT=1 ;; mgetty-1.2.1/contrib/ttyenable:342: d) Device=`echo "$OPTARG"`; Mode="DEV" ;; mgetty-1.2.1/contrib/ttyenable:343: l) Label=`echo "$OPTARG"`; Mode="LAB" ;; mgetty-1.2.1/contrib/ttyenable-344- ?) usage; exit ;; ############################################## mgetty-1.2.1/contrib/ttyenable-384- case $Mode in mgetty-1.2.1/contrib/ttyenable:385: DEV) isTTY $Device && Linenum=`lookup $Device` ;; mgetty-1.2.1/contrib/ttyenable-386- LAB) scandevice $Label ;; # Linenum will be set by scandevice ############################################## mgetty-1.2.1/debian/mgetty.postinst-15- do mgetty-1.2.1/debian/mgetty.postinst:16: PID=`cat $pidfile` mgetty-1.2.1/debian/mgetty.postinst-17- kill $PID ############################################## mgetty-1.2.1/debian/patches/01-adjust-path-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/01-adjust-path:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/01-adjust-path-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/01-adjust-path-16- *) mgetty-1.2.1/debian/patches/01-adjust-path:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/01-adjust-path-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/01-misc-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/01-misc:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/01-misc-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/01-misc-16- *) mgetty-1.2.1/debian/patches/01-misc:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/01-misc-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/03-callback_Makefile-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/03-callback_Makefile:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/03-callback_Makefile-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/03-callback_Makefile-16- *) mgetty-1.2.1/debian/patches/03-callback_Makefile:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/03-callback_Makefile-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/04-new_fax.pbm-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/04-new_fax.pbm:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/04-new_fax.pbm-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/04-new_fax.pbm-16- *) mgetty-1.2.1/debian/patches/04-new_fax.pbm:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/04-new_fax.pbm-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/09-doc_Makefile-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/09-doc_Makefile:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/09-doc_Makefile-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/09-doc_Makefile-16- *) mgetty-1.2.1/debian/patches/09-doc_Makefile:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/09-doc_Makefile-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/09-doc_Makefile-60- fmt-manpages: mgetty-1.2.1/debian/patches/09-doc_Makefile:61: -$(MAKE) `for i in $(MANSRC) ; do echo \`expr $$i : "\([^.]*\)"\`.man ; done ` mgetty-1.2.1/debian/patches/09-doc_Makefile-62- ############################################## mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in-16- *) mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/10-doc_faxrunqd.8in-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in-16- *) mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/12-fax_faxrunqd.in-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-16- *) mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-184- # Determine how many pages text will be split in to. Uses default pagelen. mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in:185:-# nr=`pgx < $1` mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in:186:+# nr=`pgx < "$1"` mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-187- # Convert each page into a separate G3 file. Uses default pagelen (60). ############################################## mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-191-+# pgx $page < "$1" | pbmtext -font $font | pbm2g3 >"$2".$page mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in:192: # page=`expr $page + 1` mgetty-1.2.1/debian/patches/13-pending-fax_faxspool.in-193- # done ############################################## mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile-16- *) mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/14-frontends_X11_viewfax-2.5_Makefile-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4-16- *) mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/23-samples_new_fax.mime4-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/24-voice_include_paths.h-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/24-voice_include_paths.h:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/24-voice_include_paths.h-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/24-voice_include_paths.h-16- *) mgetty-1.2.1/debian/patches/24-voice_include_paths.h:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/24-voice_include_paths.h-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c-16- *) mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/26-voice_libpvf_usr.c-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist-16- *) mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/36-voice_voice.conf-dist-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/37-Makefile-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/37-Makefile:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/37-Makefile-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/37-Makefile-16- *) mgetty-1.2.1/debian/patches/37-Makefile:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/37-Makefile-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/39-mgetty.cfg.in-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/39-mgetty.cfg.in:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/39-mgetty.cfg.in-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/39-mgetty.cfg.in-16- *) mgetty-1.2.1/debian/patches/39-mgetty.cfg.in:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/39-mgetty.cfg.in-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/40-locks.c_bug153394-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/40-locks.c_bug153394:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/40-locks.c_bug153394-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/40-locks.c_bug153394-16- *) mgetty-1.2.1/debian/patches/40-locks.c_bug153394:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/40-locks.c_bug153394-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668-16- *) mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/41-ugly-redo-ring.c_bug128668-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163-16- *) mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/43-moreinfo-cnd.c_bug112163-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455-16- *) mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/44-pending-faxexpand.h_bug169455-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/45-logfile.c-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/45-logfile.c:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/45-logfile.c-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/45-logfile.c-16- *) mgetty-1.2.1/debian/patches/45-logfile.c:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/45-logfile.c-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in-16- *) mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/47-doc_mgetty.texi-in-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/51-pending-faxq-time-10-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/51-pending-faxq-time:11: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/51-pending-faxq-time-12- exit 1 ############################################## mgetty-1.2.1/debian/patches/51-pending-faxq-time-17- *) mgetty-1.2.1/debian/patches/51-pending-faxq-time:18: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/51-pending-faxq-time-19- exit 1;; ############################################## mgetty-1.2.1/debian/patches/51-pending-faxq-time-29- $echo "\tQueued by: $USER" mgetty-1.2.1/debian/patches/51-pending-faxq-time:30:+ $echo "\t at: "`find $(dirname $i)/${PAGES%% *} -printf "%Ax %AH:%AM\n"` mgetty-1.2.1/debian/patches/51-pending-faxq-time-31- if [ -z "$VERBTO" ] ############################################## mgetty-1.2.1/debian/patches/52-pending-metamail-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/52-pending-metamail:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/52-pending-metamail-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/52-pending-metamail-16- *) mgetty-1.2.1/debian/patches/52-pending-metamail:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/52-pending-metamail-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/54-location-makecoverpg-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/54-location-makecoverpg:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/54-location-makecoverpg-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/54-location-makecoverpg-16- *) mgetty-1.2.1/debian/patches/54-location-makecoverpg:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/54-location-makecoverpg-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/60-fax-user-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/60-fax-user:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/60-fax-user-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/60-fax-user-16- *) mgetty-1.2.1/debian/patches/60-fax-user:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/60-fax-user-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/61-silentwav-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/61-silentwav:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/61-silentwav-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/61-silentwav-16- *) mgetty-1.2.1/debian/patches/61-silentwav:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/61-silentwav-18- exit 1;; ############################################## mgetty-1.2.1/debian/patches/77-kFreeBSD-9-if [ $# -ne 1 ]; then mgetty-1.2.1/debian/patches/77-kFreeBSD:10: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/77-kFreeBSD-11- exit 1 ############################################## mgetty-1.2.1/debian/patches/77-kFreeBSD-16- *) mgetty-1.2.1/debian/patches/77-kFreeBSD:17: echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" mgetty-1.2.1/debian/patches/77-kFreeBSD-18- exit 1;; ############################################## mgetty-1.2.1/doc/Makefile-33-fmt-manpages: mgetty-1.2.1/doc/Makefile:34: -$(MAKE) `for i in $(MANSRC) ; do echo \`expr $$i : "\([^.]*\)"\`.man ; done ` mgetty-1.2.1/doc/Makefile-35- ############################################## mgetty-1.2.1/doc/Makefile-65-install: $(MANSRC) mgetty.info mgetty-1.2.1/doc/Makefile:66: for D in `dirname $(MAN1DIR)` $(MAN1DIR) $(MAN4DIR) $(MAN5DIR) $(MAN8DIR) ; do \ mgetty-1.2.1/doc/Makefile-67- if [ ! -d $$D ] ; then mkdir $$D || exit 1 ; fi ; \ ############################################## mgetty-1.2.1/fax/faxcvt-29- ;; mgetty-1.2.1/fax/faxcvt:30: -ps) tgt=/tmp/`basename $file .ps` mgetty-1.2.1/fax/faxcvt-31- cat $file | ############################################## mgetty-1.2.1/fax/faxcvt-33- ;; mgetty-1.2.1/fax/faxcvt:34: -dvi) tgt=/tmp/`basename $file .dvi` mgetty-1.2.1/fax/faxcvt-35- dvialw <$file | ############################################## mgetty-1.2.1/fax/faxcvt-37- ;; mgetty-1.2.1/fax/faxcvt:38: -pbm) tgt=/tmp/`basename $file .pbm` mgetty-1.2.1/fax/faxcvt-39- pbm2g3 $file >$tgt-1.g3 ############################################## mgetty-1.2.1/fax/faxq.in-127- mgetty-1.2.1/fax/faxq.in:128:jobs=`ls $jobs 2>/dev/null` mgetty-1.2.1/fax/faxq.in-129-[ -z "$jobs" ] && $echo "no jobs." ############################################## mgetty-1.2.1/fax/faxq.in-201- then mgetty-1.2.1/fax/faxq.in:202: d=`dirname $i` mgetty-1.2.1/fax/faxq.in-203- if [ ! -w $d ] ; then ############################################## mgetty-1.2.1/fax/faxq.in-214- then mgetty-1.2.1/fax/faxq.in:215: d=`dirname $i` mgetty-1.2.1/fax/faxq.in-216- $FAXQ_HELPER requeue $d ############################################## mgetty-1.2.1/fax/faxrunq.in-155- fi mgetty-1.2.1/fax/faxrunq.in:156: cd $FAX_SPOOL_OUT/`dirname $job` mgetty-1.2.1/fax/faxrunq.in-157- $echo "processing $job..." ############################################## mgetty-1.2.1/fax/faxrunq.in-251- # update accounting log mgetty-1.2.1/fax/faxrunq.in:252: $echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S'`"|$AH|success" >>$FAX_ACCT mgetty-1.2.1/fax/faxrunq.in-253- ############################################## mgetty-1.2.1/fax/faxrunq.in-287- cd $FAX_SPOOL_OUT mgetty-1.2.1/fax/faxrunq.in:288: rm -rf `dirname $job` mgetty-1.2.1/fax/faxrunq.in-289- fi ############################################## mgetty-1.2.1/fax/faxrunq.in-322- # update accounting log (final) mgetty-1.2.1/fax/faxrunq.in:323: $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT mgetty-1.2.1/fax/faxrunq.in-324- ############################################## mgetty-1.2.1/fax/faxrunq.in-336- $echo "The fax job is suspended, you can requeue it with the command:" mgetty-1.2.1/fax/faxrunq.in:337: $echo " faxq -r "`dirname $job`"\n" mgetty-1.2.1/fax/faxrunq.in-338- $echo "log file follows:" ############################################## mgetty-1.2.1/fax/faxrunq.in-354- # update accounting log (intermediate) mgetty-1.2.1/fax/faxrunq.in:355: $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT mgetty-1.2.1/fax/faxrunq.in-356- ############################################## mgetty-1.2.1/fax/faxrunqd.in-1745- print LOG " calling program $program_success for job $j...\n" if $opt_v; mgetty-1.2.1/fax/faxrunqd.in:1746: system( "$program_success $fax_spool_out/$j/JOB $ex $tty </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-1747- } ############################################## mgetty-1.2.1/fax/faxrunqd.in-1764- print LOG " delete job directory $j/.\n" if $opt_v; mgetty-1.2.1/fax/faxrunqd.in:1765: system( "rm -rf $j" ) if ( $j =~ /^F[0-9]/ ); mgetty-1.2.1/fax/faxrunqd.in-1766- ############################################## mgetty-1.2.1/fax/faxrunqd.in-1798- $ENV{MODEM_ERROR_VERBOSE} = $modem_errors_v{$tty}; mgetty-1.2.1/fax/faxrunqd.in:1799: system( "$modem_error_script $tty @{$modem_errors{$tty}} </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-1800- delete $ENV{MODEM_ERROR_VERBOSE}; ############################################## mgetty-1.2.1/fax/faxrunqd.in-1821- print LOG " calling f-program $program_failure for job $j...\n" if $opt_v; mgetty-1.2.1/fax/faxrunqd.in:1822: system( "$program_failure $fax_spool_out/$j/JOB $ex $tty </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-1823- } ############################################## mgetty-1.2.1/fax/faxrunqd.in-1853- print LOG " calling u-program $program_updates for job $j...\n" if $opt_v; mgetty-1.2.1/fax/faxrunqd.in:1854: system( "$program_updates $fax_spool_out/$j/JOB -$ex $tty </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-1855- } ############################################## mgetty-1.2.1/fax/faxrunqd.in-2190- print LOG "run script: '$faxq_hiwat_script $cur_len'\n"; mgetty-1.2.1/fax/faxrunqd.in:2191: system( "$faxq_hiwat_script $cur_len </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-2192- } ############################################## mgetty-1.2.1/fax/faxrunqd.in-2203- print LOG "run script: '$faxq_lowat_script $cur_len'\n"; mgetty-1.2.1/fax/faxrunqd.in:2204: system( "$faxq_lowat_script $cur_len </dev/null" ); mgetty-1.2.1/fax/faxrunqd.in-2205- } ############################################## mgetty-1.2.1/fax/faxspool.in-364-# Determine how many pages text will be split in to. Uses default pagelen. mgetty-1.2.1/fax/faxspool.in:365:# nr=`pgx < $1` mgetty-1.2.1/fax/faxspool.in-366-# Convert each page into a separate G3 file. Uses default pagelen (60). ############################################## mgetty-1.2.1/fax/faxspool.in-369-# pgx $page < $1 | pbmtext -font $font | pbm2g3 >$2.$page mgetty-1.2.1/fax/faxspool.in:370:# page=`expr $page + 1` mgetty-1.2.1/fax/faxspool.in-371-# done ############################################## mgetty-1.2.1/fax/faxspool.in-438- id=`id` mgetty-1.2.1/fax/faxspool.in:439: user=`expr "$id" : "[^( ]*(\([^)]*\)"` mgetty-1.2.1/fax/faxspool.in-440-fi ############################################## mgetty-1.2.1/fax/faxspool.in-552- then mgetty-1.2.1/fax/faxspool.in:553: h=`expr "$2" : "\(..\)"` mgetty-1.2.1/fax/faxspool.in:554: m=`expr "$2" : "..:\(..\)"` mgetty-1.2.1/fax/faxspool.in-555- if [ "$h" -gt 23 ] ############################################## mgetty-1.2.1/fax/faxspool.in-561- then mgetty-1.2.1/fax/faxspool.in:562: h1=`expr "$2" : "\(..\)"` mgetty-1.2.1/fax/faxspool.in:563: h2=`expr "$2" : "..:..\-\(..\)"` mgetty-1.2.1/fax/faxspool.in-564- if [ "$h1" -gt 23 -o "$h2" -gt 23 ] ############################################## mgetty-1.2.1/fax/faxspool.in-567- fi mgetty-1.2.1/fax/faxspool.in:568: TIME="`echo "$2" | tr -d ':'`" mgetty-1.2.1/fax/faxspool.in-569- else ############################################## mgetty-1.2.1/fax/faxspool.in-600-then mgetty-1.2.1/fax/faxspool.in:601: FULLNAME=`grep "^$user:" /etc/passwd | cut -f5 -d: | cut -f1 -d,` mgetty-1.2.1/fax/faxspool.in-602-fi ############################################## mgetty-1.2.1/fax/faxspool.in-623- then mgetty-1.2.1/fax/faxspool.in:624: eval `$AWK "$awkpgm" $PRIVATE_PHONE_DIR` mgetty-1.2.1/fax/faxspool.in-625- fi ############################################## mgetty-1.2.1/fax/faxspool.in-627- then mgetty-1.2.1/fax/faxspool.in:628: eval `$AWK "$awkpgm" $GLOBAL_PHONE_DIR` mgetty-1.2.1/fax/faxspool.in-629- fi ############################################## mgetty-1.2.1/fax/faxspool.in-648-do mgetty-1.2.1/fax/faxspool.in:649: if [ `echo "$file" | tr -d ' \011\012\015\047\140"' ` != "$file" ] mgetty-1.2.1/fax/faxspool.in-650- then ############################################## mgetty-1.2.1/fax/faxspool.in-680-# mgetty-1.2.1/fax/faxspool.in:681:new_seq=`$FAXQ_HELPER new` mgetty-1.2.1/fax/faxspool.in-682- ############################################## mgetty-1.2.1/fax/faxspool.in-759-# mgetty-1.2.1/fax/faxspool.in:760: case "`LANG=C file $file | cut -d':' -f2- `" in mgetty-1.2.1/fax/faxspool.in-761- *"nglish text"*) format="ascii" ;; ############################################## mgetty-1.2.1/fax/faxspool.in-786- then mgetty-1.2.1/fax/faxspool.in:787: case "`dd if=$file bs=1 count=4 2>/dev/null`" in mgetty-1.2.1/fax/faxspool.in-788- %!*) format="ps" ;; ############################################## mgetty-1.2.1/fax/faxspool.in-802- then mgetty-1.2.1/fax/faxspool.in:803: if [ "`dd if=$file bs=1 skip=16 count=11 2>/dev/null`" \ mgetty-1.2.1/fax/faxspool.in-804- = "TeX output " ] ############################################## mgetty-1.2.1/fax/faxspool.in-857- # next temporary file number (using awk 'cause expr can't do "%04d"!) mgetty-1.2.1/fax/faxspool.in:858: F_NO=`echo $F_NO | $AWK '{ printf "%04d", $1 + 1 }' -` mgetty-1.2.1/fax/faxspool.in-859-done ############################################## mgetty-1.2.1/fax/faxspool.in-867- do mgetty-1.2.1/fax/faxspool.in:868: b=`basename $file` mgetty-1.2.1/fax/faxspool.in-869- $FAXQ_HELPER input $new_seq .source-files/$b <$file ############################################## mgetty-1.2.1/fax/faxspool.in-884- mgetty-1.2.1/fax/faxspool.in:885:pages=`ls $spooldir | sed '/^\./d'` mgetty-1.2.1/fax/faxspool.in-886-# ############################################## mgetty-1.2.1/fax/faxspool.in-891-nr=0 mgetty-1.2.1/fax/faxspool.in:892:maxnr=`echo $pages | wc -w | tr -d " "` mgetty-1.2.1/fax/faxspool.in-893- ############################################## mgetty-1.2.1/fax/faxspool.in-897-# dispose arguments (-C "pgm args") mgetty-1.2.1/fax/faxspool.in:898:PGM=`expr "$MAKE_COVER_PG" : "\([^ ]*\)"` mgetty-1.2.1/fax/faxspool.in-899-# ############################################## mgetty-1.2.1/fax/faxspool.in-906- mgetty-1.2.1/fax/faxspool.in:907: maxnr=`expr $maxnr + 1` mgetty-1.2.1/fax/faxspool.in-908- $MAKE_COVER_PG $maxnr "$FAX_STATION_ID" "$FULLNAME" \ ############################################## mgetty-1.2.1/fax/faxspool.in-914- $echo "generating cover page failed!" >&2 mgetty-1.2.1/fax/faxspool.in:915: maxnr=`expr $maxnr - 1` mgetty-1.2.1/fax/faxspool.in-916- fi ############################################## mgetty-1.2.1/fax/faxspool.in-933-do mgetty-1.2.1/fax/faxspool.in:934: nr=`expr $nr + 1` mgetty-1.2.1/fax/faxspool.in-935- ############################################## mgetty-1.2.1/fax/faxspool.in-938- # flexible DATE format mgetty-1.2.1/fax/faxspool.in:939: FDATE=`sed -n -e '\!@DATE \+[0-9a-zA-Z: \./%\-]*@!s!.*@DATE \(\+[0-9a-zA-Z: \./%\-]*\)@.*!\1!p' $FAX_HEADER` mgetty-1.2.1/fax/faxspool.in-940- if [ -n "$FDATE" ] ; then mgetty-1.2.1/fax/faxspool.in:941: DATE_OUT=`date "$FDATE"` mgetty-1.2.1/fax/faxspool.in-942- else ############################################## mgetty-1.2.1/fax/faxspool.in-1011- mgetty-1.2.1/fax/faxspool.in:1012:if [ -z "`find $LAST_RUN -ctime -1 -print 2>/dev/null`" ] mgetty-1.2.1/fax/faxspool.in-1013-then ############################################## mgetty-1.2.1/frontends/X11/viewfax/Imakefile-19-ComplexProgramTarget(viewfax) mgetty-1.2.1/frontends/X11/viewfax/Imakefile:20:InstallNonExec(viewfax.tif,$(HELPDIR)) ############################################## mgetty-1.2.1/frontends/X11/viewfax/viewfax.man-260- -p) shift mgetty-1.2.1/frontends/X11/viewfax/viewfax.man:261: dopt=`expr $1 - 1` mgetty-1.2.1/frontends/X11/viewfax/viewfax.man-262- shift ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-43- do mgetty-1.2.1/frontends/dialog/faxv.in:44: g32pbm $i >/tmp/$faxid.`expr $i : ".*\.\([^.]*\)$"` mgetty-1.2.1/frontends/dialog/faxv.in-45- done ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-60- do mgetty-1.2.1/frontends/dialog/faxv.in:61: g32pbm $i >/tmp/$faxid.`expr $i : ".*\.\([^.]*\)$"` mgetty-1.2.1/frontends/dialog/faxv.in-62- done ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-98- 8 42 2>$tmp2 || return mgetty-1.2.1/frontends/dialog/faxv.in:99: new=`cat $tmp2 | tr " */()|&" ".+-...."` mgetty-1.2.1/frontends/dialog/faxv.in-100- for i in $FAX_SPOOL_IN/$faxid* mgetty-1.2.1/frontends/dialog/faxv.in-101- do mgetty-1.2.1/frontends/dialog/faxv.in:102: mv $i `expr $i : "\(.*/[^/]\{11\}\)[^/]*"`-$new.`expr $i : ".*\.\([^.]*\)[^.]*"` mgetty-1.2.1/frontends/dialog/faxv.in-103- done ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-117- 10 42 2>$tmp2 || return mgetty-1.2.1/frontends/dialog/faxv.in:118: new=`cat $tmp2 | tr " *()|&" ".+...."` mgetty-1.2.1/frontends/dialog/faxv.in-119- ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-123- do mgetty-1.2.1/frontends/dialog/faxv.in:124: echo mv $i $new.`expr $i : ".*\.\([^.]*\)$"` mgetty-1.2.1/frontends/dialog/faxv.in:125: mv $i $new.`expr $i : ".*\.\([^.]*\)$"` 2>&1 mgetty-1.2.1/frontends/dialog/faxv.in-126- done ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-140- mgetty-1.2.1/frontends/dialog/faxv.in:141: fullname=`ls $FAX_SPOOL_IN/$filename*.01` mgetty-1.2.1/frontends/dialog/faxv.in:142: fullname=`basename $fullname .01` mgetty-1.2.1/frontends/dialog/faxv.in-143- ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-155- mgetty-1.2.1/frontends/dialog/faxv.in:156: action=`cat $tmp2` mgetty-1.2.1/frontends/dialog/faxv.in-157- ############################################## mgetty-1.2.1/frontends/dialog/faxv.in-224- mgetty-1.2.1/frontends/dialog/faxv.in:225: filename=`cat $tmp2` mgetty-1.2.1/frontends/dialog/faxv.in-226- ############################################## mgetty-1.2.1/frontends/dialog/xfaxq.in-45-done mgetty-1.2.1/frontends/dialog/xfaxq.in:46:shift `expr $OPTIND - 1` mgetty-1.2.1/frontends/dialog/xfaxq.in-47-if [ $# -ne 0 ] ############################################## mgetty-1.2.1/frontends/dialog/xfaxq.in-53- mgetty-1.2.1/frontends/dialog/xfaxq.in:54:if [ -z "`ls $jobs 2>/dev/null`" ]; then mgetty-1.2.1/frontends/dialog/xfaxq.in-55- $echo "No jobs." ############################################## mgetty-1.2.1/frontends/dir2fax-56- TMP=`mktemp -t dir2fax` mgetty-1.2.1/frontends/dir2fax:57: NUMBER=`echo "$f" | tr -dc '[0-9]'` mgetty-1.2.1/frontends/dir2fax:58: OWNER=`$OWNER_STAT "$f"` mgetty-1.2.1/frontends/dir2fax-59- ############################################## mgetty-1.2.1/frontends/fax-by-lpr.txt-125-mv $j foo.$$ mgetty-1.2.1/frontends/fax-by-lpr.txt:126:for i in `ls -1 foo*|grep -v foo.$$`; do mgetty-1.2.1/frontends/fax-by-lpr.txt-127- rm $i ############################################## mgetty-1.2.1/frontends/fax-by-lpr.txt-131- mgetty-1.2.1/frontends/fax-by-lpr.txt:132:q=`tail -2l foo.$$ |head -n 1 |awk '{print $1}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:133:q1=`echo $q | awk '{j=index($1,"@"); if (j==0) print "none"; else print substr($1,1,j-1);}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:134:q2=`echo $q | awk '{j=index($1,"@"); k=index($1,":"); print substr($1,j+1,k-j-1);}'` mgetty-1.2.1/frontends/fax-by-lpr.txt-135- ############################################## mgetty-1.2.1/frontends/fax-by-lpr.txt-139- mgetty-1.2.1/frontends/fax-by-lpr.txt:140:q3=`echo $q1 |sed 's/\_/\\\_/g'` mgetty-1.2.1/frontends/fax-by-lpr.txt-141- ############################################## mgetty-1.2.1/frontends/fax-by-lpr.txt-145-d=`pwd | sed 's/usr//g' | sed 's/var//g' | sed 's/spool//g' | sed 's/\///g' ` mgetty-1.2.1/frontends/fax-by-lpr.txt:146:j=`file $i` mgetty-1.2.1/frontends/fax-by-lpr.txt-147- ############################################## mgetty-1.2.1/frontends/fax-by-lpr.txt-170- mgetty-1.2.1/frontends/fax-by-lpr.txt:171:GDEV=`grep GDEV param | awk '{print $2}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:172:RES=`grep RES param | awk '{print $2}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:173:NP=`grep NP param | awk '{print $2}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:174:ODEV=`grep ODEV param | awk '{print $2}'` mgetty-1.2.1/frontends/fax-by-lpr.txt:175:NL=`grep NL param | awk '{print $2}'` mgetty-1.2.1/frontends/fax-by-lpr.txt-176- ############################################## mgetty-1.2.1/frontends/faxmail/faxmail-26-# mgetty-1.2.1/frontends/faxmail/faxmail:27:eval `awk ' function getaddr(line) { mgetty-1.2.1/frontends/faxmail/faxmail-28- b = index( line, "<" ); ############################################## mgetty-1.2.1/frontends/faxmail/faxmail-41- /^From:[ \t]/ \ mgetty-1.2.1/frontends/faxmail/faxmail:42: { if ( header ) from=getaddr($0); } mgetty-1.2.1/frontends/faxmail/faxmail-43- /^Reply-To:[ \t]/ \ mgetty-1.2.1/frontends/faxmail/faxmail:44: { if ( header ) replyto=getaddr($0); } mgetty-1.2.1/frontends/faxmail/faxmail-45- /^Subject:[ \t]/ \ ############################################## mgetty-1.2.1/frontends/mail2fax/mail2fax.pl-365-} else { mgetty-1.2.1/frontends/mail2fax/mail2fax.pl:366: $FaxResult = system ("$FaxSendCmd"); mgetty-1.2.1/frontends/mail2fax/mail2fax.pl-367- if (! $FaxResult) { ############################################## mgetty-1.2.1/frontends/mail2fax.space-42- case X$1 in mgetty-1.2.1/frontends/mail2fax.space:43: X-p) CATPGM="head -"`echo $2 | awk '{ print ($1 * 66) - 12}'`; mgetty-1.2.1/frontends/mail2fax.space-44- shift; shift ;; ############################################## mgetty-1.2.1/frontends/mail2fax.space-78-# mgetty-1.2.1/frontends/mail2fax.space:79:eval `awk ' function getaddr(line) { mgetty-1.2.1/frontends/mail2fax.space-80- b = index( line, "<" ); ############################################## mgetty-1.2.1/frontends/mail2fax.space-93- /^From:[ \t]/ \ mgetty-1.2.1/frontends/mail2fax.space:94: { if ( header ) from=getaddr($0); } mgetty-1.2.1/frontends/mail2fax.space-95- /^Reply-To:[ \t]/ \ mgetty-1.2.1/frontends/mail2fax.space:96: { if ( header ) replyto=getaddr($0); } mgetty-1.2.1/frontends/mail2fax.space-97- /^Subject:[ \t]/ \ ############################################## mgetty-1.2.1/frontends/mail2fax06/mail2fax.pl-167- mgetty-1.2.1/frontends/mail2fax06/mail2fax.pl:168:my $out=`$cmd`; mgetty-1.2.1/frontends/mail2fax06/mail2fax.pl-169-my $rc = $?; ############################################## mgetty-1.2.1/frontends/mmdf-mail2fax/faxgate.pl-120- mgetty-1.2.1/frontends/mmdf-mail2fax/faxgate.pl:121: $success=system($faxcmd) ; mgetty-1.2.1/frontends/mmdf-mail2fax/faxgate.pl-122- ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-610- $tmpfil = sprintf("/tmp/JOB%d.tmp", getppid()); mgetty-1.2.1/frontends/perl-tk/faxman.pl:611: my $v = system("mv -f $fil $tmpfil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-612- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-627- close(OUTJOB); mgetty-1.2.1/frontends/perl-tk/faxman.pl:628: $v = system("mv -f $tmplock $fil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-629- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-632- } mgetty-1.2.1/frontends/perl-tk/faxman.pl:633: system("rm $tmpfil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-634- $times_through = $LOOPS_TO_WAIT+1; ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-648- $tmpfil = sprintf("/tmp/JOB%d.tmp", getppid()); mgetty-1.2.1/frontends/perl-tk/faxman.pl:649: my $v = system("mv -f $fil $tmpfil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-650- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-670- close(OUTJOB); mgetty-1.2.1/frontends/perl-tk/faxman.pl:671: $v = system("mv -f $tmplock $fil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-672- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-675- } mgetty-1.2.1/frontends/perl-tk/faxman.pl:676: system("rm $tmpfil"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-677- $times_through = $LOOPS_TO_WAIT+1; ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-695- } mgetty-1.2.1/frontends/perl-tk/faxman.pl:696: $v = system($command); mgetty-1.2.1/frontends/perl-tk/faxman.pl-697- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-735- } mgetty-1.2.1/frontends/perl-tk/faxman.pl:736: $v = system($command); mgetty-1.2.1/frontends/perl-tk/faxman.pl-737- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-777- if ($opt_f == 1) { mgetty-1.2.1/frontends/perl-tk/faxman.pl:778: exec($command) unless fork; mgetty-1.2.1/frontends/perl-tk/faxman.pl-779- } else { mgetty-1.2.1/frontends/perl-tk/faxman.pl:780: $v = system($command); mgetty-1.2.1/frontends/perl-tk/faxman.pl-781- if ($v) { ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-817- $fname, $cnt++); mgetty-1.2.1/frontends/perl-tk/faxman.pl:818: $v = system($command); mgetty-1.2.1/frontends/perl-tk/faxman.pl-819- print "$command\n"; ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-826- $fname, $i++); mgetty-1.2.1/frontends/perl-tk/faxman.pl:827: $v = system($command); mgetty-1.2.1/frontends/perl-tk/faxman.pl-828- &tell_error if $v; ############################################## mgetty-1.2.1/frontends/perl-tk/faxman.pl-857- $faxmgrtop->idletasks; mgetty-1.2.1/frontends/perl-tk/faxman.pl:858: system("fax $fine $command"); mgetty-1.2.1/frontends/perl-tk/faxman.pl-859- $faxmgrtop->configure( "-cursor" => $cursor ); ############################################## mgetty-1.2.1/frontends/perl-tk/handle_commands.pl-66- if ($opt_f == 1) { mgetty-1.2.1/frontends/perl-tk/handle_commands.pl:67: exec($cmd) unless fork; mgetty-1.2.1/frontends/perl-tk/handle_commands.pl-68- } else { mgetty-1.2.1/frontends/perl-tk/handle_commands.pl:69: $v = system($cmd); mgetty-1.2.1/frontends/perl-tk/handle_commands.pl-70- if ($v) { ############################################## mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-26- mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl:27:# `$home_dir' is the startup directory and `$file_type' is the initial mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-28-# globbing pattern. ############################################## mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-163- mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl:164: # `$path.listbox' must be created before `$path.list' and configured mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-165- # afterwards (don't know why, must be black magic). ############################################## mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-484- mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl:485: set b [xdialog Question "Do you really want to remove `[join $n {', `}]'?"] mgetty-1.2.1/frontends/tcl/faxview-0.2/faxview.tcl-486- ############################################## mgetty-1.2.1/frontends/windows/win+samba-2.txt-59- mgetty-1.2.1/frontends/windows/win+samba-2.txt:60:NUMMER=`faxfilter $1 $TMP` mgetty-1.2.1/frontends/windows/win+samba-2.txt-61-USER=$2 ############################################## mgetty-1.2.1/frontends/windows/win+samba-2.txt-90-fi mgetty-1.2.1/frontends/windows/win+samba-2.txt:91:LEN=`expr length $NUMMER` mgetty-1.2.1/frontends/windows/win+samba-2.txt-92- ############################################## mgetty-1.2.1/frontends/windows/win+samba-2.txt-101-then mgetty-1.2.1/frontends/windows/win+samba-2.txt:102: X=`expr substr $NUMMER 1 2` mgetty-1.2.1/frontends/windows/win+samba-2.txt-103- if [ ! "$X" = "0," ] ############################################## mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-45- mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:46: $cnt = `grep -c %%EOF temp$pcnummer.fax`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-47- next if ($cnt == 0); ############################################## mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-61- mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:62: $ok = `file temp$pcnummer.fax`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-63- ############################################## mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-73- close(MAILERR); mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:74: system("rm -f temp$pcnummer.fax $lck"); mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-75- next; ############################################## mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-80- $fn = sprintf("/tmp/fax%04d", $lfnd++); mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:81: `mv $DIR/temp$pcnummer.fax $fn`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:82: `rm -f temp$pcnummer.fax $lck`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-83- ############################################## mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-87- # are the faxpages mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:88: $err = `USER=PC$pcnummer; export USER; sh /usr/bin/fax $verbose_to $phone $fn </dev/null >/dev/null`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl:89: `rm -f $fn`; mgetty-1.2.1/frontends/winword2/WinFaxServ.pl-90- ############################################## mgetty-1.2.1/ftp.sh-24-# find diff's, if any... mgetty-1.2.1/ftp.sh:25:DIFF=`ls -rt mgetty*-$VS.diff.gz 2>/dev/null |tail -1` mgetty-1.2.1/ftp.sh-26-#test -n "$DIFF" && DIFF="put $DIFF" ############################################## mgetty-1.2.1/inittab.aix-63- echo "Installing." mgetty-1.2.1/inittab.aix:64: if [ -n "`lsitab $TTY`" ] mgetty-1.2.1/inittab.aix-65- then ############################################## mgetty-1.2.1/inittab.aix-68- fi mgetty-1.2.1/inittab.aix:69: if [ -n "`lsitab m$TTY`" ] mgetty-1.2.1/inittab.aix-70- then ############################################## mgetty-1.2.1/inst.sh-93-then mgetty-1.2.1/inst.sh:94: dst="$dst"/`basename $src` mgetty-1.2.1/inst.sh-95-fi ############################################## mgetty-1.2.1/inst.sh-98- mgetty-1.2.1/inst.sh:99:dstdir=`dirname $dst` mgetty-1.2.1/inst.sh-100-dsttmp=$dstdir/#inst.$$# ############################################## mgetty-1.2.1/mkidirs-14-do mgetty-1.2.1/mkidirs:15: set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` mgetty-1.2.1/mkidirs-16- shift ############################################## mgetty-1.2.1/samples/answer_fax.sh-15-port=${1:-ttyS1} mgetty-1.2.1/samples/answer_fax.sh:16:if pid=`cat /etc/mg-pid.$port 2>/dev/null` && kill $sig $pid 2>/dev/null mgetty-1.2.1/samples/answer_fax.sh-17-then ############################################## mgetty-1.2.1/samples/answer_fax.sh-22- sleep 4 mgetty-1.2.1/samples/answer_fax.sh:23: pid=`cat /etc/mg-pid.$port` mgetty-1.2.1/samples/answer_fax.sh-24- kill $sig $pid ############################################## mgetty-1.2.1/samples/fax-33- fi mgetty-1.2.1/samples/fax:34: fax_phone=`echo $fax_phone | tr -d " "` mgetty-1.2.1/samples/fax-35- ok=true ############################################## mgetty-1.2.1/samples/fax-59- $ed $memo_file mgetty-1.2.1/samples/fax:60: lines=`wc -l <$memo_file | tr -d " "` mgetty-1.2.1/samples/fax-61- if [ $lines -gt 18 ] ; then ############################################## mgetty-1.2.1/samples/fax-81-else mgetty-1.2.1/samples/fax:82: $echo "\nDokumente: "`ls -d $documents` mgetty-1.2.1/samples/fax-83-fi ############################################## mgetty-1.2.1/samples/faxmemo-36- mgetty-1.2.1/samples/faxmemo:37:if [ `wc -l <$MEMO` -gt 18 ] mgetty-1.2.1/samples/faxmemo-38-then ############################################## mgetty-1.2.1/samples/faxview.th-44- my $newname = "$tmp/gzip-$steps"; mgetty-1.2.1/samples/faxview.th:45: system("gzip -dc \"$file\" > \"$newname\"") == 0 mgetty-1.2.1/samples/faxview.th-46- or die "Unable to unzip $file into $tmp"; ############################################## mgetty-1.2.1/samples/faxview.th-55- # Extract the file right here mgetty-1.2.1/samples/faxview.th:56: system("tar xf \"$file\"") == 0 mgetty-1.2.1/samples/faxview.th-57- or die "Problem while unpacking tar archive $file"; ############################################## mgetty-1.2.1/samples/faxview.th-70- mgetty-1.2.1/samples/faxview.th:71:system($viewer, @files) == 0 mgetty-1.2.1/samples/faxview.th-72- or die "Problem while calling the fax viewer $viewer"; ############################################## mgetty-1.2.1/samples/faxview.th-75- defined $tmp and mgetty-1.2.1/samples/faxview.th:76: system("rm -fr \"$tmp\""); mgetty-1.2.1/samples/faxview.th-77-} ############################################## mgetty-1.2.1/samples/new_fax.NeXT-61- mgetty-1.2.1/samples/new_fax.NeXT:62:BASE=`basename $1 .01` mgetty-1.2.1/samples/new_fax.NeXT-63-DIR="/tmp/" ############################################## mgetty-1.2.1/samples/new_fax.NeXT-67- FILE=$1 mgetty-1.2.1/samples/new_fax.NeXT:68: RES=`basename $FILE | sed 's/.\(.\).*/\1/'` mgetty-1.2.1/samples/new_fax.NeXT-69- if [ "$RES" = "f" ] ############################################## mgetty-1.2.1/samples/new_fax.NeXT-94- shift mgetty-1.2.1/samples/new_fax.NeXT:95: P=`expr $P + 1` mgetty-1.2.1/samples/new_fax.NeXT-96-done ############################################## mgetty-1.2.1/samples/new_fax.all/archive.module-14- # archive this as tar file mgetty-1.2.1/samples/new_fax.all/archive.module:15: tar -cvzf $data/`basename $1 .01`.tar.gz $* mgetty-1.2.1/samples/new_fax.all/archive.module-16-} ############################################## mgetty-1.2.1/samples/new_fax.all/mail.module-13- # some settings mgetty-1.2.1/samples/new_fax.all/mail.module:14: tmp=/tmp/`basename $0`.$$ mgetty-1.2.1/samples/new_fax.all/mail.module-15- bound=Newfax_-${$}${$} ############################################## mgetty-1.2.1/samples/new_fax.all/mail.module-47- echo "--$bound" mgetty-1.2.1/samples/new_fax.all/mail.module:48: page=`echo $file | /usr/bin/awk -F\. '{ printf "%d", $NF }' -` mgetty-1.2.1/samples/new_fax.all/mail.module-49- echo "Content-Type: application/octet-stream; name=\"page${page}.gif\";" ############################################## mgetty-1.2.1/samples/new_fax.all/new_fax-32-do mgetty-1.2.1/samples/new_fax.all/new_fax:33: log "module `basename $module .module`" mgetty-1.2.1/samples/new_fax.all/new_fax-34- . $module ############################################## mgetty-1.2.1/samples/new_fax.all/new_fax-40-do mgetty-1.2.1/samples/new_fax.all/new_fax:41: command=`echo $line | cut -d" " -f1 -s` # extract command mgetty-1.2.1/samples/new_fax.all/new_fax:42: data=`echo $line | cut -d" " -f2- -s` # extract parameter mgetty-1.2.1/samples/new_fax.all/new_fax-43- if [ "$command" = "" ] # empty line ############################################## mgetty-1.2.1/samples/new_fax.all/new_fax-66- then mgetty-1.2.1/samples/new_fax.all/new_fax:67: if [ `echo $id | grep "$data" | wc -l` -gt 0 ] mgetty-1.2.1/samples/new_fax.all/new_fax-68- then ############################################## mgetty-1.2.1/samples/new_fax.hpa-34- mgetty-1.2.1/samples/new_fax.hpa:35:ARCHIVE=`echo $4 | sed -e 's|^.*/\([^/]*\)\.[0-9]*$|\1|'` mgetty-1.2.1/samples/new_fax.hpa:36:FROM=`echo $2 | sed -e 's/ *" *//g'` mgetty-1.2.1/samples/new_fax.hpa-37- ############################################## mgetty-1.2.1/samples/new_fax.lj-25- FAX=$1 mgetty-1.2.1/samples/new_fax.lj:26: RES=`basename $FAX | sed 's/.\(.\).*/\1/'` mgetty-1.2.1/samples/new_fax.lj-27- ############################################## mgetty-1.2.1/samples/new_fax.lj-41- shift mgetty-1.2.1/samples/new_fax.lj:42: P=`expr $P + 1` mgetty-1.2.1/samples/new_fax.lj-43-done ############################################## mgetty-1.2.1/samples/new_fax.mail-29- FAX=$1 mgetty-1.2.1/samples/new_fax.mail:30: RES=`basename $FAX | sed 's/.\(.\).*/\1/'` mgetty-1.2.1/samples/new_fax.mail-31- ############################################## mgetty-1.2.1/samples/new_fax.mail-44- | gzip -9 \ mgetty-1.2.1/samples/new_fax.mail:45: | uuencode `basename $FAX`.pbm.gz mgetty-1.2.1/samples/new_fax.mail-46- ) | $MAILER $MAILTO ############################################## mgetty-1.2.1/samples/new_fax.mail-48- shift mgetty-1.2.1/samples/new_fax.mail:49: P=`expr $P + 1` mgetty-1.2.1/samples/new_fax.mail-50-done ############################################## mgetty-1.2.1/samples/new_fax.mime1-31-PAGES="$1" ; shift mgetty-1.2.1/samples/new_fax.mime1:32:TMP=/var/tmp/`basename $0`.$$ mgetty-1.2.1/samples/new_fax.mime1-33- ############################################## mgetty-1.2.1/samples/new_fax.mime1-61-# for i in $* ; do mgetty-1.2.1/samples/new_fax.mime1:62:# t=$TMP.`echo $page | awk '{printf "%03d\n",$1}'` mgetty-1.2.1/samples/new_fax.mime1-63-# mmencode $1 >$t ############################################## mgetty-1.2.1/samples/new_fax.mime3-62- echo "Content-Transfer-Encoding: base64" >> $TMPMAIL mgetty-1.2.1/samples/new_fax.mime3:63: echo "Content-Disposition: attachment; filename=\"`basename $file`\"" \ mgetty-1.2.1/samples/new_fax.mime3-64- >> $TMPMAIL ############################################## mgetty-1.2.1/samples/new_fax.mime4-114- # display on a screen. mgetty-1.2.1/samples/new_fax.mime4:115: RESOLUTION=`$BASENAME $i | $SED 's/.\(.\).*/\1/'` mgetty-1.2.1/samples/new_fax.mime4-116- if [ "$RESOLUTION" = "n" ] ############################################## mgetty-1.2.1/samples/new_fax.mime4-132- $ECHO "$ATTACHMENT_HEADERLINE_1" >> $MIME_MESS mgetty-1.2.1/samples/new_fax.mime4:133: $ECHO "$ATTACHMENT_HEADERLINE_2; name=\"`$BASENAME $i|cut -f1 -d\.``$BASENAME $i|cut -f2 -d \.`.$FILE_EXTN\"" >> $MIME_MESS mgetty-1.2.1/samples/new_fax.mime4-134- $ECHO "$ATTACHMENT_HEADERLINE_3" >> $MIME_MESS ############################################## mgetty-1.2.1/samples/new_fax.th-64- mgetty-1.2.1/samples/new_fax.th:65:system("$su $user -c \"$faxviewer $args -display :0 &\""); mgetty-1.2.1/samples/new_fax.th-66- ############################################## mgetty-1.2.1/samples/new_fax.th-82- mgetty-1.2.1/samples/new_fax.th:83: system($tar, "rf", $archive_tmp, basename $file) == 0 mgetty-1.2.1/samples/new_fax.th-84- or die "Tar failed for adding $file to archive $archive_tmp"; ############################################## mgetty-1.2.1/samples/new_fax.th-86- mgetty-1.2.1/samples/new_fax.th:87:system("$gzip -c9 \"$archive_tmp\" > \"$archive\"") == 0 mgetty-1.2.1/samples/new_fax.th-88- or die "Gzip failed for compressing $archive_tmp to $archive"; ############################################## mgetty-1.2.1/samples/new_fax.th-108-# Encode the file and add it to the mail mgetty-1.2.1/samples/new_fax.th:109:system("$mmencode -b \"$archive\" >> \"$mail\"") == 0 mgetty-1.2.1/samples/new_fax.th-110- or die "Error while encoding $archive into $mail"; ############################################## mgetty-1.2.1/samples/new_fax.th-121-# Now call sendmail mgetty-1.2.1/samples/new_fax.th:122:system("$sendmail $user < \"$mail\"") == 0 mgetty-1.2.1/samples/new_fax.th-123- or die "Error while sending the mail"; ############################################## mgetty-1.2.1/samples/new_fax.th-126- defined $tmp and mgetty-1.2.1/samples/new_fax.th:127: system("rm -rf $tmp"); mgetty-1.2.1/samples/new_fax.th-128-} ############################################## mgetty-1.2.1/samples/new_fax.tiff-34- mgetty-1.2.1/samples/new_fax.tiff:35:FAX=`echo $1|sed 's/...$//'` mgetty-1.2.1/samples/new_fax.tiff:36:FAX_BASENAME=`basename $FAX` mgetty-1.2.1/samples/new_fax.tiff-37- ############################################## mgetty-1.2.1/samples/new_fax.vacation-84- mgetty-1.2.1/samples/new_fax.vacation:85:system ("sed $edit <$message >$name.tex 2>/dev/null") == 0 mgetty-1.2.1/samples/new_fax.vacation:86: && system ("tex $name.tex >/dev/null 2>&1") == 0 mgetty-1.2.1/samples/new_fax.vacation:87: && system ("faxdvi $name.dvi >/dev/null 2>&1"); mgetty-1.2.1/samples/new_fax.vacation-88- ############################################## mgetty-1.2.1/samples/printfax-13- # mgetty-1.2.1/samples/printfax:14: if expr "`basename $file`" : "fn" >/dev/null mgetty-1.2.1/samples/printfax-15- then ############################################## mgetty-1.2.1/samples/printfax.ps-42-do mgetty-1.2.1/samples/printfax.ps:43: case `basename $file` mgetty-1.2.1/samples/printfax.ps-44- in ############################################## mgetty-1.2.1/t/t_echo.in-4-ECHO="@ECHO@" mgetty-1.2.1/t/t_echo.in:5:TEST=`( $ECHO "one\c" ; $ECHO "two\c" ; $ECHO "three" )` mgetty-1.2.1/t/t_echo.in-6-EXPECT="onetwothree" ############################################## mgetty-1.2.1/voice/.makefile-52- ( \ mgetty-1.2.1/voice/.makefile:53: for i in `cat .files | grep ".c$$"` ;\ mgetty-1.2.1/voice/.makefile-54- do \ mgetty-1.2.1/voice/.makefile-55- \ mgetty-1.2.1/voice/.makefile:56: if [ "`basename $$i`" = "main.c" ]; then \ mgetty-1.2.1/voice/.makefile-57- $(GCC) -DMAIN -MM $$i ;\ ############################################## mgetty-1.2.1/voice/.makefile-82- tar czvvf voice.tar.gz \ mgetty-1.2.1/voice/.makefile:83: `cat voice/.filelist | awk '{ printf "voice/%s ", $$1 }' -` ;\ mgetty-1.2.1/voice/.makefile-84- $(MAKE) clean ;\ ############################################## mgetty-1.2.1/voice/.makefile-132- do \ mgetty-1.2.1/voice/.makefile:133: cat $$i | sed -e 's;^;'`dirname $$i`'/;' | sed -e 's;^./;;' ;\ mgetty-1.2.1/voice/.makefile-134- done) | sort >.filelist ############################################## mgetty-1.2.1/voice/libpvf/rockwell.c-67- A first attempt to implement basically all that the original mgetty-1.2.1/voice/libpvf/rockwell.c:68: Rockwell D.ASM code does in C. I never had to deal with assembler mgetty-1.2.1/voice/libpvf/rockwell.c-69- before, so be lenient when you judge me, please... ############################################## mgetty-1.2.1/voice/libpvf/rockwell.c-206- mgetty-1.2.1/voice/libpvf/rockwell.c:207: The "adjustment" that is mentioned in D.ASM can be understood by mgetty-1.2.1/voice/libpvf/rockwell.c-208- the following example: Assume you want to multiply -1 with -0.5. In ############################################## mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE-14- mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE:15: . `dirname $0`/Vgetty.sh mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE-16- ############################################## mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE-31- do mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE:32: announcement=`v_readnum "$voicedir/messages/main_menu.rmd" 2 2` \ mgetty-1.2.1/voice/scripts/Vgetty.sh.EXAMPLE-33- || break ############################################## mgetty-1.2.1/voice/scripts/button.sh-117- if [ ! -f $TIMESTAMP ]; then mgetty-1.2.1/voice/scripts/button.sh:118: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/button.sh-119- else mgetty-1.2.1/voice/scripts/button.sh:120: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -newer $TIMESTAMP -print` mgetty-1.2.1/voice/scripts/button.sh-121- mgetty-1.2.1/voice/scripts/button.sh-122- if [ -z "$MSGS" ]; then mgetty-1.2.1/voice/scripts/button.sh:123: BASENAME=`basename $TIMESTAMP` mgetty-1.2.1/voice/scripts/button.sh:124: NEWSTAMP=`find $VOICE_DIR -name $BASENAME -cmin -10 -print` mgetty-1.2.1/voice/scripts/button.sh-125- mgetty-1.2.1/voice/scripts/button.sh-126- if [ "$NEWSTAMP" = "$TIMESTAMP" ]; then mgetty-1.2.1/voice/scripts/button.sh:127: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/button.sh-128- fi ############################################## mgetty-1.2.1/voice/scripts/dtmf.sh-14- mgetty-1.2.1/voice/scripts/dtmf.sh:15:CODE=`cat $VOICE_DIR/.code` mgetty-1.2.1/voice/scripts/dtmf.sh-16-FLAG=$VOICE_DIR/.flag ############################################## mgetty-1.2.1/voice/scripts/dtmf.sh-100- if [ ! -f $TIMESTAMP ]; then mgetty-1.2.1/voice/scripts/dtmf.sh:101: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/dtmf.sh-102- else mgetty-1.2.1/voice/scripts/dtmf.sh:103: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -newer $TIMESTAMP -print` mgetty-1.2.1/voice/scripts/dtmf.sh-104- mgetty-1.2.1/voice/scripts/dtmf.sh-105- if [ -z "$MSGS" ]; then mgetty-1.2.1/voice/scripts/dtmf.sh:106: BASENAME=`basename $TIMESTAMP` mgetty-1.2.1/voice/scripts/dtmf.sh:107: NEWSTAMP=`find $VOICE_DIR -name $BASENAME -cmin -10 -print` mgetty-1.2.1/voice/scripts/dtmf.sh-108- mgetty-1.2.1/voice/scripts/dtmf.sh-109- if [ "$NEWSTAMP" = "$TIMESTAMP" ]; then mgetty-1.2.1/voice/scripts/dtmf.sh:110: MSGS=`find $VOICE_DIR/incoming/ -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/dtmf.sh-111- fi ############################################## mgetty-1.2.1/voice/scripts/dtmf.sh-320- mgetty-1.2.1/voice/scripts/dtmf.sh:321: TRIES=`expr $TRIES + 1` mgetty-1.2.1/voice/scripts/dtmf.sh-322-done ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-21-# mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:22:BASENAME=`basename $0` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-23-DTMF="$1" ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-29-# Some files (scripts may have to be written) mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:30:CODE=`cat $VOICE_DIR/.code` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-31-FLAG=$VOICE_DIR/.flag ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-115- if [ ! -f $TIMESTAMP ]; then mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:116: MSGS=`find $INC_DIR/ -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-117- else mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:118: MSGS=`find $INC_DIR/ -type f -name 'v*.rmd' -newer $TIMESTAMP -print` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-119- if [ -z "$MSGS" ]; then mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:120: BASENAME=`basename $TIMESTAMP` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:121: NEWSTAMP=`find $VOICE_DIR -name $BASENAME -cmin -10 -print` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-122- if [ "$NEWSTAMP" = "$TIMESTAMP" ]; then mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:123: MSGS=`find $INC_DIR -type f -name 'v*.rmd' -print` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-124- fi ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-262- if [ "1$LAST_CHAR" != "1" ]; then mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:263: LAST_CHAR=`echo "$LAST_CHAR" | tr "[:lower:]" "[:upper:]"` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-264- fi ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-300- if [ "$CAPS" = "yes" ]; then mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:301: THIS_CHAR=`echo "$THIS_CHAR" | tr "[:lower:]" "[:upper:]"` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-302- fi ############################################## mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-441- fi mgetty-1.2.1/voice/scripts/dtmf_alpha.sh:442: TRIES=`expr $TRIES + 1` mgetty-1.2.1/voice/scripts/dtmf_alpha.sh-443-done ############################################## mgetty-1.2.1/voice/scripts/listen.sh-58- then mgetty-1.2.1/voice/scripts/listen.sh:59: choice=`cat /tmp/menu.tmp.$$` mgetty-1.2.1/voice/scripts/listen.sh-60- if [ $choice = "played" ] ############################################## mgetty-1.2.1/voice/scripts/listen.sh-71- then mgetty-1.2.1/voice/scripts/listen.sh:72: choice=`cat /tmp/menu.tmp.$$` mgetty-1.2.1/voice/scripts/listen.sh-73- gunzip < $choice > /tmp/menu.rmd.$$ ############################################## mgetty-1.2.1/voice/scripts/listen.sh-89- then mgetty-1.2.1/voice/scripts/listen.sh:90: ans=`cat /tmp/menu.tmp.$$` mgetty-1.2.1/voice/scripts/listen.sh-91- if [ $ans -eq 2 ];then mv $choice played;gzip played/$choice;fi ############################################## mgetty-1.2.1/voice/scripts/speakdate.sh-16-AMP=3.5 mgetty-1.2.1/voice/scripts/speakdate.sh:17:MSG=`find $1 -printf 'This message was recorded on %TA, %TB %Td, at %Tk %TM.\n'` mgetty-1.2.1/voice/scripts/speakdate.sh-18-SPEED=$2 ############################################## mgetty-1.2.1/voice/scripts/voice2email.sh-51-IFREQ='raw modem data (Rockwell / compression type 0x0200)' mgetty-1.2.1/voice/scripts/voice2email.sh:52:if [[ `$FILE -b $1` != $IFREQ ]] mgetty-1.2.1/voice/scripts/voice2email.sh-53-then ############################################## mgetty-1.2.1/voice/scripts/voice2email.sh-103-# (`dirname` is part of GNU coreutils) mgetty-1.2.1/voice/scripts/voice2email.sh:104:mv $1 `$DIRNAME $1`/$FILENAME.rmd mgetty-1.2.1/voice/scripts/voice2email.sh-105-echo $LOGMESSAGE >&2