That is a task that is just begging to be scripted, then it could be automated every time there is a git commit!I have to reformat all the text files for each keywords, as the Online System, does funny things to the ASCII test, like \_ for _ and does not like $ or %
The recent thing
- XorA
- Site Admin
- Posts: 1381
- Joined: Thu Jun 02, 2011 11:31 am
- Location: Shotts, North Lanarkshire, Scotland, UK
Re: The recent thing
-
- Font of All Knowledge
- Posts: 4023
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: The recent thing
Hi,
Yes I had considered that and was writing a BASH script, to use SED which turns out be quite easy.
Chnage \_ to _ : sed -i 's/\\_/\_/g' ./BASIC/*
Which replaced the \_ to _ in all files.
Removed the top 2 lines with: sed -i '1,2d;$d' ./BASIC/*
I have now completed all the changes, except the changing of keyword references to upper case. I may have to do that by hand.
Yes I had considered that and was writing a BASH script, to use SED which turns out be quite easy.
Chnage \_ to _ : sed -i 's/\\_/\_/g' ./BASIC/*
Which replaced the \_ to _ in all files.
Removed the top 2 lines with: sed -i '1,2d;$d' ./BASIC/*
I have now completed all the changes, except the changing of keyword references to upper case. I may have to do that by hand.
Regards,
Derek
Derek
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: The recent thing
Hi Derek,Derek_Stewart wrote: ↑Thu Jul 20, 2023 9:20 am This reminds me of my little project to transfer the Online Superbasic manual to QD Help system, or QHELP.
I have to reformat all the text files for each keywords, as the Online System, does funny things to the ASCII test, like \_ for _ and does not like $ or %
I am up to D at present...
does the attached zip file help in any way? I have taken the current source files for the Online Manual and processed them to create text versions. This will get rid of "\_" which is needed to escape "_" as "_" is a control character in ReStructuredText source files.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
-
- Font of All Knowledge
- Posts: 4023
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: The recent thing
Hi Norman,
Thanks for update, but completed the changes, including removsl of the ASCII artwork.
I loaded the files into the Help directory and loaded a SBASIC program into QD, pressing F1 on the SBASIC keyword displayed the descrption of the keyword and syntax, as detailed in the online manual.
I have already done DBAS, QPTR so it is quite complete.
I could never remember the syntax for DBAS commands, now it is easy...
Thanks for update, but completed the changes, including removsl of the ASCII artwork.
I loaded the files into the Help directory and loaded a SBASIC program into QD, pressing F1 on the SBASIC keyword displayed the descrption of the keyword and syntax, as detailed in the online manual.
I have already done DBAS, QPTR so it is quite complete.
I could never remember the syntax for DBAS commands, now it is easy...
Regards,
Derek
Derek
- NormanDunbar
- Forum Moderator
- Posts: 2284
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Leeds, West Yorkshire, UK
- Contact:
Re: The recent thing
Ok Derek, no worries.
Cheers,
Norm.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.