News for hackers. Stuff that matters.
Re:Minimal safe Bash script template by aduitsis on Tuesday December 15, 2020 @06:35AM (#25429312)
If the script must iterate over the lines of its input, I've found perl -nlE to be a godsend. Basically it is equivalent to

  while(<>){
      chomp;
      <insert your -E code here>
  }

There are no comments on this comment yet.