Hi All, I want to parse the out put of Unix command like df, ps -ef. While returning output of those command there is no column separator in the output only empty space is used as delimiter. But my data contains space, so it is giving problem while parsing.
Does any body suggest their view. Waiting for reply,
Either investigate whether the format is fixed, meaning all columns always take up the same number of characters (in which case it's easy to extract the columns), or see if the columns can be separated by content. E.g., some columns can only contain numbers and can't have white space. You could try to come up with a regular expression that describes the format of a line that way.