Next: Conversion and Addition of
Up: sus2text
Previous: sus2text
  Contents
  Index
The option --filter=<expression> can be used to
filter data from a sus file that satisfies the expression <expression>.
Tutorial 25:
- Use the --filter option to extract the following data from the
out.sus file:
(1) The running times on random sequences only.
(2) All rows in which the selection sort algorithm (T0) is faster than
the insertion sort algorithm (T1).
- Solution:
-
(1) sus2text --filter='type=="random"' < out.sus
(2) sus2text --filter='float(T0)<float(T1)' n T0 T1 type < out.sus
Tobias Polzin
2002-11-18