Assuming you're acking from a file called "gcc_errors" which holds the
strings, you can do:
ack "^(.+?):" --output "$1" gcc_errors
That's for Windows. For Linux you will need to change the double
quotes to single quotes.
Regards,
Offer Kaye
I'm sorry for my poor English. I saw this group in lists.perl.org, and I made a mistake that I think of "ack" is "ask", so I think this is a perl beginner's mail-ist. how foolish I am!if I get the path, I will open the file. and do something on it. like delete it or remove it to another directory, or may be do nothing but open it on vim, it depend the file contents. Can you get me a mail-list that I can ask this problem?thanks.