> Read and respond to this message at:
> https://sourceforge.net/forum/message.php?msg_id=3035845
> By: nobody
>
May I reply also per Email at [email protected]
or doesn't "nobody" receive my answer then?
> For example if the file contains:
>
> "Post Comment Anonymously"
>
> I want to search for Comment and pick 6 characters after that,
> resulting "Anonym"
>
Download sed-4.1.2-bin.zip, sed-4.1.2-dep.zip and sed-4.1.2-doc.zip,
install it and then write
sed -n
":x;s/^\([^\n]*\)Comment\s\+\([^\n]\{0,6\}\)[^\n]*/\1\n\2/;tx;s/^[^\n]*\n//p"
filename.txt
in one line in a cmd windows. For more powerful text processing
there is also the package gawk.
HTH
Mathias
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
GnuWin32-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users