![]() |
|
P is for Practical | |
PerlMonks |
Re: Drop formatting to paste plain text from Clipboardby chanio (Priest) |
on Mar 27, 2007 at 18:01 UTC ( #606820=note: print w/replies, xml ) | Need Help?? |
Actually, I am fond of these simple tasks that can make our lives easier... When I call this script I use to mention one or two arguments that would make additional effects to the text... The following code, adds some formating to the text. By default, it writes columns of 60 characters. But it is possible to specify any number of columns. I can also transform plain text into HTML code, extract certain phrases with REGEX, transform the text into a commented block, unescape characters or escape them, sort the lines, turn them all into upper/lowercase and even eval some code while leaving it's result as the output. This is what I call a useful toolbox..
In Section
Snippets Section
|
|