1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-11-17 21:48:28 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
slowy07
f74f207581 fix: typo grammar spelling 2021-08-06 20:29:33 +07:00
Jan Sonntag
fa1cf540e8 Fix broken links and emails 2020-10-14 19:40:15 +02:00
Sebastian Fricke
2cff4abf08 Gitbook Links: replace old links with new ones
The old links didn't point to valid locations.
Replace the old links with the new links and test those changes with a
small script: https://github.com/initBasti/markdown_link_check .

______________________________________________________________

In order to find and replace the links, I used the following commands:

grep -rwohP '.' -e "\(https\:\/\/0xax.gitbooks.io\/\S*\)" > links.txt
(Find all links recursivly in the project directories and print out the
 only the matches links)

Within links.txt:
Remove the '(' & ')' => :%s/\(//g  and :%s/\)//g
Remove duplicates => :sort u

Test if the links work with:
python3 md_link_check.py --pattern 0xax.gitbook --output-file bad.txt
(https://github.com/initBasti/markdown_link_check)

Create replace commands:
:%s/.*/grep -rl & '.' | xargs sed -i 's#&##g'
Enter replacement URL between the 2nd & 3rd '#'
Execute commands: :w !sh

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
2020-05-31 17:23:17 +02:00
Weikang Shi
b7e625efdd
typo
fix
2018-11-20 10:26:56 +08:00
Dongliang Mu
4704d82b25 fix broken links related with 'sync, syscall, timer' 2018-03-22 00:48:13 -04:00
Joshua Murphy
6d69c2431b Refactored files for a unified naming convention, making an autoamted LaTeX build easier too 2018-02-14 10:03:16 -03:30