GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — shell-script/009-scriptbc.sh at master · srinivart/shell-script Expand file tree/ Copy path009-scriptbc.shMore file actions executable file ·18 lines (14 loc) · 214 Bytes / Copy path009-scriptbc.shFile metadata and controlsexecutable file ·18 lines (14 loc) · 214 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #!/bin/sh # scriptbc - wrapper for 'bc' that returns the value of a formula if [ $1 = "-p" ] ; then precision=$2 shift 2 else precision=2 # default fi bc -q -l << EOF scale=$precision $* quit EOF exit 0 |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |