"Fossies" - the Fresh Open Source Software Archive

Member "teapot-2.3.0/examples/load_save_time.sh" (6 Feb 2012, 266 Bytes) of package /linux/privat/old/teapot-2.3.0.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.

    1 #!/bin/sh
    2 echo 11.9.2001,2.2.2002 >load_save_time.txt
    3 teapot -b load_save_time.tp<<EOF
    4 goto &(0,0,1)
    5 load-csv load_save_time.txt
    6 from &(0,1,0)
    7 to &(0,1,0)
    8 save-csv load_save_result.txt
    9 EOF
   10 rm -f load_save_time.txt
   11 cat load_save_result.txt
   12 rm -f load_save_result.txt