Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dxcore35 authored Sep 19, 2020
1 parent 1a2179e commit 16b7f55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ All other heading levels 2,3,4,5,6 are not splitted.
1. Open terminal
2. The Mac user you need to download GAWK (becouse AWK in Mac is broken)
3. Install GAWK just run command: ```brew install gawk```
4. Paste command: ```gawk -F, '/^# /{h=substr($0,3);} {print > ( h ".md")}' $File.md$```
5. In script above replace ```$File$``` with the path to markdown file you want to split.
4. Paste command: ```gawk -F, '/^# /{h=substr($0,3);} {print > ( h ".md")}' $Book.md$```
5. In script above replace ```$Book.md$``` with the path to markdown file you want to split.
6. Hit enter

## STEPS (WINDOWS, LINUX)

1. Open terminal
2. Paste command: ```awk -F, '/^# /{h=substr($0,3);} {print > ( h ".md")}' $File.md$```
6. In script above replace ```$File$``` with the path to markdown file you want to split.
2. Paste command: ```awk -F, '/^# /{h=substr($0,3);} {print > ( h ".md")}' $Book.md$```
6. In script above replace ```$Book.md$``` with the path to markdown file you want to split.
7. Hit enter

0 comments on commit 16b7f55

Please sign in to comment.