From 058f4576a958b72e8307cfb5bfdb50b4ce57e4f2 Mon Sep 17 00:00:00 2001 From: axtlos Date: Wed, 6 Dec 2023 01:11:26 +0100 Subject: add specs page --- generate.sh | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) (limited to 'generate.sh') diff --git a/generate.sh b/generate.sh index 0e8a8a4..a55f299 100755 --- a/generate.sh +++ b/generate.sh @@ -10,28 +10,42 @@ echo "Change fedi hyperlink style" sed 's|

- Fedi

|

- Fedi: https://akko.wtf/axtlos

|g' axtlos.7.html > axtlos.7.html.tmp mv axtlos.7.html.tmp axtlos.7.html echo "Adding Gifs" -sed 's||amy, xenia, solardelete twitter, make a neocities!\nNo nazis! No fascists! No racism!\nkris what the fuck are we doing here\nmade with emacs\nltgnft? more like no fucking thanks!chrome and edge, same shit, different asshole\n|g' axtlos.7.html > axtlos.7.html.tmp +sed 's||amy, xenia, solardelete twitter, make a neocities!\nNo nazis! No fascists! No racism!\nkris what the fuck are we doing here\nmade with emacs\nltgnft? more like no fucking thanks!chrome and edge, same shit, different asshole\nLearn LaTeX NOW!\nThis website is lynx friendly!\n|g' axtlos.7.html > axtlos.7.html.tmp mv axtlos.7.html.tmp axtlos.7.html echo "Replace date with license" sed '//c\ CC BY-SA 4.0' axtlos.7.html > axtlos.7.html.tmp mv axtlos.7.html.tmp axtlos.7.html echo "Change See also to hyperlinks" -sed 's|

Project Shards(1), Crystal Linux(1) Linux||g' axtlos.7.html > axtlos.7.html.tmp -sed 's| Immutability Tools(7)

|
\nProject Shards(7), \nCrystal Linux(1), \nLinux Immutability Tools(1)\n
|g' axtlos.7.html.tmp > axtlos.7.html +sed 's|

Specs(7), Project Shards(1), Crystal Linux(1)||g' axtlos.7.html > axtlos.7.html.tmp +sed 's| Linux Immutability Tools(7)

|
\nSpecs(7), \nProject Shards(7), \nCrystal Linux(1), \nLinux Immutability Tools(1)\n
|g' axtlos.7.html.tmp > axtlos.7.html cp axtlos.7.html index.html echo "Succesfully generated axtlos(7)" +echo "Generate specs(7)" +mandoc -T html -O style=./style.css specs.7 > specs.7.html +echo "Change header" +sed 's|computers(7)|technological|g' specs.7.html > specs.7.html.tmp +mv specs.7.html.tmp specs.7.html +sed 's|Miscellaneous Information Manual|devices|g' specs.7.html > specs.7.html.tmp +mv specs.7.html.tmp specs.7.html +sed 's|computers(7)|straight from hell|g' specs.7.html > specs.7.html.tmp +mv specs.7.html.tmp specs.7.html +echo "Add back to main page link" +sed 's||Go To Main Page\n|g' specs.7.html > specs.7.html.tmp +mv specs.7.html.tmp specs.7.html +echo "Change see also to hyperlinks" +sed 's|

axtlos(7), Project Shards(1), Crystal||g' specs.7.html > specs.7.html.tmp +sed 's| Linux(1) Linux Immutability Tools(7)

|
\naxtlos(7), \nProject Shards(7), \nCrystal Linux(1), \nLinux Immutability Tools(1)\n
|g' specs.7.html.tmp > specs.7.html +echo "Successfully generated specs(7)" + echo "Generate shards(1)" mandoc -T html -O style=./style.css shards.1 > shards.1.html -echo "Change OS" -sed 's|Linux 6.2.6-arch1-1|FreeBSD 13.1-RELEASE-p6|g' shards.1.html > shards.1.html.tmp -mv shards.1.html.tmp shards.1.html echo "Replace date with license" -sed '//c\ CC BY-SA 4.0' shards.1.html > shards.1.html.tmp +sed 's||c\ CC BY-SA 4.0|g' shards.1.html > shards.1.html.tmp mv shards.1.html.tmp shards.1.html echo "Change See also to hyperlinks" -sed 's|

axtlos(7), Crystal Linux(1), Linux Immutability||g' shards.1.html > shards.1.html.tmp -sed 's| Tools(7)

|
\naxtlos(7), \nCrystal Linux(1), \nLinux Immutability Tools(1)\n
|g' shards.1.html.tmp > shards.1.html +sed 's|

axtlos(7), Specs(7), Crystal Linux(1),||g' shards.1.html > shards.1.html.tmp +sed 's| Linux Immutability Tools(7)

|
\naxtlos(7), \nSpecs(7), \nCrystal Linux(1), \nLinux Immutability Tools(1)\n
|g' shards.1.html.tmp > shards.1.html echo "Remove one specific newline" cat shards.1.html | grep -v '
' > shards.1.html.tmp echo "Succesfully generated shards(1)" @@ -45,8 +59,8 @@ echo "Replace date with license" sed '//c\ CC BY-SA 4.0' crystal.1.html > crystal.1.html.tmp mv crystal.1.html.tmp crystal.1.html echo "Change See also to hyperlinks" -sed 's|

axtlos(7), Project Shards(1), Linux Immutability||g' crystal.1.html > crystal.1.html.tmp -sed 's| Tools(7)

|
\naxtlos(7), \nProject Shards(1), \nLinux Immutability Tools(1)\n
|' crystal.1.html.tmp > crystal.1.html +sed 's|

axtlos(7), Specs(7), Project Shards(1),||g' crystal.1.html > crystal.1.html.tmp +sed 's| Linux Immutability Tools(7)

|
\naxtlos(7), \nSpecs(7), \nProject Shards(1), \nLinux Immutability Tools(1)\n
|' crystal.1.html.tmp > crystal.1.html echo "Succesfully generated crystal(1)" echo "Generate Linux Immutability Tools(7)" @@ -55,7 +69,9 @@ echo "Replace dat with license" sed '//c\ CC BY-SA 4.0' lit.7.html > lit.7.html.tmp mv lit.7.html.tmp lit.7.html echo "Change See also to hyperlinks" -sed 's|

axtlos(7) Project Shards(1), Crystal||g' lit.7.html > lit.7.html.tmp -sed 's|Linux(1)

|
\naxtlos(7), \nProject Shards(1), \nCrystal Linux(1)|g' lit.7.html.tmp > lit.7.html - +sed 's|

axtlos(7), Specs(7), Project Shards(1),||g' lit.7.html > lit.7.html.tmp +sed 's| Crystal Linux(1)

|
\naxtlos(7), \nSpecs(7), \nProject Shards(1), \nCrystal Linux(1)|g' lit.7.html.tmp > lit.7.html echo "Succesfully generated lit(7)" + +echo "cleanup" +rm *.tmp -- cgit v1.2.3