Last active
July 19, 2019 04:31
-
-
Save canabady/aef66b5ff4395946bc74dd66ec3f16d3 to your computer and use it in GitHub Desktop.
To change the webpage anchor from relative to absolute reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To get the reference for thevaram urai from tamilvu website for the offline-pages | |
$ for ff in $(find -maxdepth 1 -type f -name *son*); do sed -i -E "s/'l([0-9]+)uri.jsp/'http:\/\/www.tamilvu.org\/slet\/l\1\/l\1uri.jsp/g" $ff; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment