Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sometimes i have text copied from a doc or a browser which i need to process. I figure awk would solve it and maybe a little regex to help.

Is there something like this? or do i need to find a windows awk and write my own GUI util?

-edit- i found this tool to be useful. This is mostly what i wanted. Getting the output with replace is somewhat tricky. http://gskinner.com/RegExr/

share|improve this question
1  
I'm really curious to know what a GUI tool to handle the awk language would look like... –  Ignacio Vazquez-Abrams Oct 1 '10 at 11:45
2  
xterm :-) It's what I use ... –  reinierpost Oct 1 '10 at 12:27
    
Can you explain what you need more besides pasting it into a new text file and executing the awk+regex sequence from a command line? I presume you do have AWK on command line (or, Cygwin). Maybe, if you elaborate, we will know your question better. –  nik Oct 1 '10 at 13:34
    
@Nik: i need to see the output dynamically or at least pretty fast and i need to copy/paste large amount of text and i dont want to paste it in everytime i change the awk command. –  acidzombie24 Oct 2 '10 at 3:35
    
BTW: awk is a regexp engine in and of itself. Not PCRE--of course--but...for the most part won't need "a little regex to help." –  dmckee Nov 10 '10 at 17:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.