In yesterday’s post about graspx, I demonstrated some usages of the tool that I originally had not thought of, and it soon turned out that Windows does not provide the necessary functionality (namely a unique option in the sort command).
Therefore I added two new switches to graspx:
-col selects which columns to appear in the output (implicitly sorting the generated output and filtering unique lines
-count adds a new column to indicate the number of occurrences of each line of the result
The following examples illustrate the simplifications of yesterday’s examples.
To retrieve the filename and the value of the EmptyDataText attribute, run:
graspx -col 1,5 l EmptyDataText
Check CSS references
To find all CSS classes referenced in aspx pages, run:
graspx -col 5 -count l CssClass graspx -col 5 -count l class
With the new functionality it is much easier to retrieve relevant information from your source code.
graspx is available for download here.