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

8 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
SeongJae Park
75a611e28d SyncPrim/linux-sync-2.md: Fix a dot into semicolon
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
SeongJae Park
7fe8bc397a SyncPrim/linux-sync-2.md: Fix missed description about spinlock api
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
2019-10-01 19:38:35 +02:00
Ryder
bf7b8d8cfb
Grammar updates for queued spinlocks
Rewrote a few sentences to make them easier to read, grammar corrections.
2019-04-16 18:53:10 -07:00
Takuya Yamamoto
1b2ddf49e3 Update linux-sync-2.md 2018-12-28 18:46:14 +09: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
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