News for hackers. Stuff that matters.
Re:Minimal safe Bash script template by d0mine on Wednesday December 16, 2020 @10:58AM (#25444094)
Why would you reimplement piping? Just use the shell:

  output = check_output(“dmesg | grep hda”, shell=True)
Or regular Python string methods could be used instead of piping to grep.

There are no comments on this comment yet.