7 lines
139 B
Plaintext
7 lines
139 B
Plaintext
|
#!/bin/csh
|
||
|
if ( $#argv == 0 || x"$1" == "x-h" ) then
|
||
|
echo Syntax: calc \"mathematical expression\"
|
||
|
exit 1
|
||
|
endif
|
||
|
awk "BEGIN {print $*}"
|