Login | Register
My pages Projects Community openCollabNet

SRTK Tools

Summary of Tools

It's still early in the game, so there are only a couple of basic tools so far.

rqgrep

rqgrep keyword-pattern value-pattern [filename]

Similar to the grep you know and love. Prints out records from the input that match both keyword and value.

rqsort

rqsort keyword [--number] [--reverse] [filename]

Similar to unix's sort command. Sorts records in input based on values from keyword. Records without values for that keyword are assumed to be "" (empty string) or 0. With --number, values are treated like numbers. With --reverse, sort in reverse order. Use with rqgrep for maximum enjoyment.