next up previous contents index
Next: command option file Up: Examples Previous: merging files and adding   Contents   Index


filtering

When converting from a sus file to another format, certain records can be filtered out using the --filter option.

Command: sus2text '--filter=instance<"steiner3"' < text2sus.sus

The ' ' are needed because of the " and <, which would be interpreted by the shell otherwise.

output

instance running_time value complex hours minutes

steiner1 123          123   23      11    23     
steiner2 323          312   44      11    44

For comparison, the unfiltered output is:

Command: sus2text < text2sus.sus

output

instance running_time value complex hours minutes

steiner1 123          123   23      11    23     
steiner2 323          312   44      11    44     
steiner3 532          32    45      11    55     
steiner4 954          44    46      12    04



Tobias Polzin 2003-05-30