News for hackers. Stuff that matters.
Re:Shellconf.py – Simple remote configuration with shell for... by blueblob on Thursday March 20, 2014 @11:36AM (#7436175)
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.

Re:Shellconf.py – Simple remote configuration with shell for... by adionditsak on Thursday March 20, 2014 @11:42AM (#7436208)
Makes sense. Was thinking the same... Just doing this for learning actually. I think it makes sense tho to do it in Python, Ruby or something else, if you want to steamline it in some way with structure/architecture. I would like to see the bash version tho :-)