mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-18 06:59:43 +02:00
23 lines
406 B
Plaintext
23 lines
406 B
Plaintext
|
#!/bin/sh
|
||
|
. ./Common
|
||
|
|
||
|
###############################################################################
|
||
|
|
||
|
fped "floor: 4.7mm" <<EOF
|
||
|
%print floor(4.7mm)
|
||
|
EOF
|
||
|
expect <<EOF
|
||
|
4mm
|
||
|
EOF
|
||
|
|
||
|
#------------------------------------------------------------------------------
|
||
|
|
||
|
fped "floor: -1.2m" <<EOF
|
||
|
%print floor(-1.2)
|
||
|
EOF
|
||
|
expect <<EOF
|
||
|
-2
|
||
|
EOF
|
||
|
|
||
|
###############################################################################
|