"Fossies" - the Fresh Open Source Software Archive

Member "tcpflow-1.6.1/tests/test-pdfs.sh" (19 Feb 2021, 257 Bytes) of package /linux/misc/tcpflow-1.6.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "test-pdfs.sh": 1.4.4_vs_1.4.5.

    1 #!/bin/sh
    2 #
    3 
    4 . $srcdir/test-subs.sh
    5 
    6 # create PDFs for all of the pcap files
    7 for i in $DMPDIR/*.pcap
    8 do
    9   echo $i
   10   cmd "$TCPFLOW -Fg -e netviz -o tmp$$ -r $i"
   11   cmd "mv tmp$$/report.pdf `basename $i .pcap`.pdf"
   12   echo ""
   13   /bin/rm -rf tmp$$ test?.pdf
   14 done