xcommand | awk '{print $1;}'
returns just the first string of each line it is offered.
I need to do the same thing in perl.
majikperlcommand(@cleanarray = "xcommand");
I'm sure this can be done with regex,
which I am just starting to delve the depths of.
And, I don't know how to read out the single string
that matches a regex. Or is it better to say "a matching
regex that is followedd by a whitespace"?
here is an example of the output:
M8-W5 RUN N955 MHO DEVEL mfaden etc....