[devdocsgjs/main: 1210/1867] gnu_fortran: update docs/file-scrapers.md




commit 1e2200bf57bd0ff41be86ffe2cae2360ba65c53c
Author: Simon Legner <Simon Legner gmail com>
Date:   Wed Nov 18 21:38:03 2020 +0100

    gnu_fortran: update docs/file-scrapers.md

 docs/file-scrapers.md | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index 70a0c6d9..fbfbf435 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -39,14 +39,9 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file.
 Go to https://gcc.gnu.org/onlinedocs/ and download the HTML tarball of Fortran manual or run the following 
commands to download the tarball:
 
 ```sh
-wget https://gcc.gnu.org/onlinedocs/gcc-<version>/gfortran-html.tar.gz
-```
-
-Then extract the content of the tarball and move it to the devdocs directory.
-
-```sh
-tar xf <tarball>
-mv <extracted_directory> path/to/devdocs/docs/gnu_fortran~<version>/
+mkdir docs/gnu_fortran~$VERSION; \
+curl https://gcc.gnu.org/onlinedocs/gcc-$RELEASE/gfortran-html.tar.gz | \
+tar --extract --gzip --strip-components=1 --directory=docs/gnu_fortran~$VERSION
 ```
 
 ## Gnuplot


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]