4 lines script to download smyth full text

Use this forum to organize a study group around a specific textbook. Before starting, you might wish to advertise your plan on other forums first.
Post Reply
banofimagefan
Textkit Neophyte
Posts: 15
Joined: Tue May 15, 2018 10:58 am

4 lines script to download smyth full text

Post by banofimagefan »

Hi,

excuse everybody my poor English first.

Who knows this: Sometimes we need to just full text search the grammar, but there is no local file 2021.. So I found to produce local copies (to disk) that you can both browse and full text search as long as you internet keeps: Off. So I wont wonder that this workaround conflicts with a copy rights interests, had not anybody prepared a suitable little file.txt from the beginning on?.

Then I just wanted to share the little download 4 lines script. I tested it and it works fine.

for ((i=0;i<40;i++)); do wget "https://grammars.alpheios.net/smyth/xht ... "$i"".html"; done; # Chapter 4
for ((i=17;i<22;i++)); do wget "https://grammars.alpheios.net/smyth/xht ... "$i"".html"; done; # chapter 3
for ((i=1;i<11;i++)); do wget "https://grammars.alpheios.net/smyth/xht ... "$i"".html"; done; # chapter 2
for ((i=1;i<9;i++)); do wget "https://grammars.alpheios.net/smyth/xht ... "$i"".html"; done; # chapter 1

Have fun

Post Reply