Skip to content

Instantly share code, notes, and snippets.

@goooooouwa
Last active January 3, 2016 07:59
Show Gist options
  • Save goooooouwa/8432716 to your computer and use it in GitHub Desktop.
Save goooooouwa/8432716 to your computer and use it in GitHub Desktop.
search and replace all appearance of "£" in each template.
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./client/mypt.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./client/mypt.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/dashboard.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/packages/view.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/invoices/listItem.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/invoices/listItem.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/invoices/view.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/profile.html
sed -i 's/&pound;/<%= localStorage.getItem("PT-currency-symbol") %>/g' ./trainer/profile.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment