iso/doc/handbook/get_wiki_handbook
Matt Housh f9f836dfaf More updates for upcoming 3.2 release
- Updated ISO kernel to 4.1.8
    - Added isohybrid call to Makefile, removed mkhybrid
    - Updated documentation versions to 3.2
    - Updated setup.dependencies
    - Updated packages.opt
        - Added btrfs-progs, jfsutils, ppp,
            reiserfsprogs, unzip, xfsprogs, zip
        - Removed rp-pppoe
2015-09-25 10:34:32 -05:00

25 lines
530 B
Bash
Executable File

#!/bin/bash
# Quick hack to generate handbook.txt from pmwiki
# Johannes Winkelmann, jw at tks6 dot net
INFILE=handbook.in
OUTFILE=handbook.txt
CRUX_VERSION=3.2
TITLE="HANDBOOK FOR CRUX $CRUX_VERSION"
URL="http://crux.nu/Main/Handbook${CRUX_VERSION/\./-}?action=print"
set -x
links -no-numbering -no-references -dump $URL > $INFILE
cat $INFILE|while read n; do
if [ -n "$intext" ]; then
cat
elif [ "$n" = "1. Preface" ]; then
echo "$TITLE"
echo "";
echo " $n";
intext="yes";
fi
done > $OUTFILE
rm $INFILE