1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 22:58:08 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
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
Michael D
a047b17551 More recovered images
Patch 4: Interrupts/
2019-10-10 19:57:27 +02:00
Alexander Kuleshov
e896e56c86
s/http/https for linux-insides 2018-03-24 01:06:57 +06:00
Dongliang Mu
49c8951eb8 modify broken links related with Thoery, Data structure, Misc and so on 2018-03-22 19:50:44 -04:00
Dongliang Mu
4a57db7015 fix broken links 2018-03-22 01:28:16 -04:00
Dongliang Mu
72c71c2560 fix interrupts 2018-03-19 22:09:46 -04:00
Dongliang Mu
f159c63e0c Change mm to MM, interrupts to Interrupts 2018-03-16 16:03:40 -04:00