Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Edit a List of Files

by chanio (Priest)
on Apr 11, 2006 at 04:03 UTC ( #542442=note: print w/replies, xml ) Need Help??

in reply to Edit a List of Files

Thank you!

A very useful script.

I would like to add something to my own version of this script (as soon as I can find the time to do it, sorry ;) ):

  • > Log files should speak clear and simple. Those are tools to work with even if the user ignores what the script is doing. After some time, I might forget what was the script doing. When preparing logs for large number of processed files it is easier to read one or two lines clearly identified with each file.
  • > Making a more expressive table of regexes that could load inside a hash with different extensions and another generic key that would apply to all files. That would be easy by just starting from a standard template with fields to fill in. (A kind of ini file where lines starting with # wouldn't count as values. And keys would start without any tab character)
  • > Modules could make this script useful for any platform!
Then this script could become a very powerful tool!

Replies are listed 'Best First'.
Re^2: Edit a List of Files
by lev36 (Sexton) on Apr 11, 2006 at 21:08 UTC

    Thanks for your comments, Chanio. I'm considering how to make the log file a little more clear and informative.

    Your other suggestions sound good too, though they are more than I have time to figure out right now.

    And you should certainly feel free to take it and modify it for your own use! Especially if you share what you did and why, so I can learn yet more.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542442]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2023-03-27 04:51 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.