Skip to content

Instantly share code, notes, and snippets.

@uahim
Created March 18, 2026 19:05
Show Gist options
  • Select an option

  • Save uahim/00efe44dae9eb28e1e011454445be912 to your computer and use it in GitHub Desktop.

Select an option

Save uahim/00efe44dae9eb28e1e011454445be912 to your computer and use it in GitHub Desktop.
fix apple subtitles double lines
gawk "!visited[$0]++" FILE | sed "s#^([0-9]{1,}$)#\n\1#g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment