Skip to content

Instantly share code, notes, and snippets.

@takuya-saito-sketch-0822
Created September 24, 2019 10:04
Show Gist options
  • Select an option

  • Save takuya-saito-sketch-0822/10521b6ec920463a1ca0f9ce44711829 to your computer and use it in GitHub Desktop.

Select an option

Save takuya-saito-sketch-0822/10521b6ec920463a1ca0f9ce44711829 to your computer and use it in GitHub Desktop.
#!/bin/bash
prev_p=\"\$\{
aftr_p=\}\"
sed s/$prev_p//g $1 | sed s/aftr_p//g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment