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

15 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
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
f159c63e0c Change mm to MM, interrupts to Interrupts 2018-03-16 16:03:40 -04:00
Aaron Hill
17da4af718
Make all Github links reference a specific commit
Closes #480
2017-07-30 15:56:26 -04:00
Mack Stump
3fda046617 fix typos 2016-05-19 10:46:26 -04:00
0xAX
d817bbe358 Merge pull request #359 from olshevskiy87/fix_typos_init
fix typos in Initialization chapter
2016-04-09 00:08:12 +06:00
0xAX
c613d61bc2 Update linux-initialization-9.md 2016-04-08 23:13:03 +06:00
Dmitriy Olshevskiy
f4f5eb96ba fix typos in Initialization chapter 2016-03-30 20:49:00 +03:00
zhaoxiaoqiang
0d1ee9e346 fix grammer errors of the rest parts 2016-01-12 15:43:54 +08:00
zhaoxiaoqiang
ae5cbb4c20 fix minor grammer errors 2016-01-06 18:16:12 +08:00
mudongliang
ae6b0f52ee revert internals to insides in initialization 2015-10-26 09:32:07 +08:00
mudongliang
dbfb8d4cd3 modify 'internals' to 'insides' 2015-10-16 22:05:36 +08:00
ruthgrace
7dce350a07 fixed broken link to Radix Tree page 2015-10-12 15:10:55 -04:00
0xAX
c755233a7c Create linux-initialization-9.md 2015-05-17 19:59:01 +06:00