mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-12-23 08:52:04 +02:00
23 lines
406 B
Bash
Executable File
23 lines
406 B
Bash
Executable File
#!/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
|
|
|
|
###############################################################################
|