Commit Graph

36 Commits

Author SHA1 Message Date
Sahal Ansari
267eb1add1 formatting fixes for parameter expansion - my favorite article. 2024-10-18 18:29:52 -05:00
Sahal Ansari
50aeb31ff8 missed some table formatting in last commit. 2024-10-18 17:57:25 -05:00
Sahal Ansari
cd90135cce Updated table formatting, call-outs, html comments, improper escapes. 2024-10-07 23:00:17 -05:00
flokoe
9144160ae5
Fix link to old bash hackers wiki 2024-04-02 23:36:57 +02:00
flokoe
45b56ae6c6
Fix "relative links target not found" warnings 2024-04-02 23:19:23 +02:00
flokoe
9b7adabbaf
Fix unrecognized relative links 2024-04-02 21:36:43 +02:00
flokoe
02ecdc79fb
Fix tags 2024-04-02 21:19:20 +02:00
coronary
99161c5fa3 format(docs): replace escaped special characters 2024-03-31 23:10:32 -05:00
Vera De Kalb
4166a76a00 format(docs): remove escaped t's 2024-03-30 14:09:26 -05:00
Vera De Kalb
a0a82533bc format(docs): remove escaped 's character pairs 2024-03-30 13:22:45 -05:00
Florian Köhler
93e24b5962
Merge pull request #15 from hansonchar/linkfix-depth3
Fix hyperlinks of markdown pages at depth 3
2024-02-03 12:38:53 +01:00
Florian Köhler
5746562810
Merge pull request #14 from hansonchar/linkfix-depth2
Fix hyperlinks of markdown pages at depth 2
2024-01-29 19:14:29 +01:00
Hanson Char
b75c3a588b Fix hyperlinks of markdown pages at depth 3
find docs/ -depth 3  -name '*.md' | xargs grep '(.*/' -l | \
  xargs -I{} \
  sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../../\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][0-9a-zA-Z_-]*\))%(../../\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../../\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][0-9a-zA-Z_-]*\))%(../../\1/\2/\3.md#\4)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\))%](../../\1.md)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\)#\([^:.>)#][^:.>)#]*\))%](../../\1.md#\2)%g' \
  {}

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:26:57 -08:00
Hanson Char
e966036f05 Fix hyperlinks of markdown pages at depth 2
find docs/ -depth 2  -name '*.md' | xargs grep '(.*/' -l | \
  xargs -I{} \
  sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(../\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([0-9a-zA-Z_-][0-9a-zA-Z_-]*\))%(../\1/\2/\3.md#\4)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\))%](../\1.md)%g' \
  -e 's%](\([^:.>)#][^:.>)#]*\)#\([^:.>)#][^:.>)#]*\))%](../\1.md#\2)%g' \
  {}

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:26:10 -08:00
Hanson Char
a489aaa906 Fix hyperlinks of markdown pages at depth 1
sed -i '' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(\1/\2.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][a-zA-Z_-]*\))%(\1/\2.md#\3)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)\(.md\)\{0\})%(\1/\2/\3.md)%g' \
  -e 's%(/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)/\([^/#).][^/#).]*\)#\([a-zA-Z_-][a-zA-Z_-]*\))%(\1/\2/\3.md#\3)%g' \
  docs/bash4.md

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-28 17:24:35 -08:00
Hanson Char
52f7443676 Fix hyperlinks of docs/index.md so that it would work with markdown
pages that already exist.

Related to https://github.com/flokoe/bash-hackers-wiki/issues/10
2024-01-27 17:36:56 -08:00
flokoe
eef745fee1 Fix typos 2023-07-05 13:32:32 +02:00
flokoe
63f83bf3e6 Add under construction note to start page 2023-07-05 13:22:38 +02:00
flokoe
5f078723e3 Convert syntax pages to Markdown 2023-07-05 11:43:35 +02:00
flokoe
22386b0460 Convert snipplets to Markdown 2023-07-05 11:33:45 +02:00
flokoe
82096dc0ff Convert scripting pages to Markdown 2023-07-05 11:31:29 +02:00
flokoe
854c84588c Convert misc pages to Markdown 2023-07-05 11:26:49 +02:00
flokoe
2c151a8682 Convert internals to Markdown 2023-07-05 11:11:49 +02:00
flokoe
2d52763c75 Convert howto pages to Markdown 2023-07-05 11:10:03 +02:00
flokoe
024e1bcc0e Convert files under dict to Markdown 2023-07-05 11:06:16 +02:00
flokoe
1406408dff Convert all builtin commands to Markdown 2023-07-05 10:53:12 +02:00
flokoe
f79b5314b2 Fix Markdown formatting for classictest.md 2023-07-04 18:11:00 +02:00
flokoe
505673ba61 Convert classic test command to Markdown 2023-07-04 15:59:53 +02:00
flokoe
aea9fd7d46 Add note where to submit bugs and discuss content 2023-07-04 14:23:53 +02:00
flokoe
094a96e575 Hide left side navigation on start page 2023-07-04 13:58:02 +02:00
flokoe
20b201d027 Convert snipplets to Markdown 2023-07-04 13:56:41 +02:00
flokoe
73779d718d Add tags overview 2023-07-04 13:54:36 +02:00
flokoe
6e4f649350 Fix minor formatting for Markdown 2023-07-04 13:11:57 +02:00
flokoe
375586c22d Convert bash4.txt to Markdown 2023-07-04 12:59:22 +02:00
flokoe
d24eb8b212 Fix formatting for Markdown and remove old content 2023-07-04 12:51:06 +02:00
flokoe
02c31dfa8c Original start.txt converted to Markdwon 2023-07-04 00:29:25 +02:00