Comment

Comment by blueblob

While Python is likely more widely installed than Ruby, I still don't understand, why use Python to run a bunch of shell scripts? Why not use the shell to run the scripts?

    for f in scripts/*;do
      #logrotate here
      scripts/"$f" &> "logs/$f.log"
    done
or something like that?

EDIT: not trying to be rude, I just don't understand.

parent blueblob 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton