Re: updates 2001.05.25

Unknown <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Harlan writes:

> The webpages seem to want stuff from sample2, which does
> not seem to be available via CVS.

Urk.  Never checked 'em in, for reasons that will be obvious
:-(.  Unpack the shar below into sample2/webpages/.

Will

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 2001-05-25 20:43 BST by <partain@slicker>.
# Source directory was `/workspace/partain/ark/sample2/webpages'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    199 -rw-r--r-- index-sample2.txt
#    279 -rw-r--r-- try-ark2.txt
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh20739; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= index-sample2.txt ==============
if test -f 'index-sample2.txt' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'index-sample2.txt' '(file already exists)'
else
  $echo 'x -' extracting 'index-sample2.txt' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'index-sample2.txt' &&
<!-- -*-Mode: html;-*- -->
<!-- $Revision$ -->
<!-- titletag: The Sample2 Team -->
<!-- tag: Sample2 (Simple1-style site) -->
<h1>The Sample2 Team of the Arusha Project</h1>
X
ToDo
X
<!-- the end -->
X
SHAR_EOF
  (set 20 00 09 18 21 46 50 'index-sample2.txt'; eval "$shar_touch") &&
  chmod 0644 'index-sample2.txt' ||
  $echo 'restore of' 'index-sample2.txt' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'index-sample2.txt:' 'MD5 check failed'
5fdf6f1270a06becfaa0f2201ed31a76  index-sample2.txt
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'index-sample2.txt'`"
    test 199 -eq "$shar_count" ||
    $echo 'index-sample2.txt:' 'original size' '199,' 'current size' "$shar_count!"
  fi
fi
# ============= try-ark2.txt ==============
if test -f 'try-ark2.txt' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'try-ark2.txt' '(file already exists)'
else
  $echo 'x -' extracting 'try-ark2.txt' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'try-ark2.txt' &&
<!-- -*-Mode: html;-*- -->
<!-- $Revision$ -->
<!-- tag: Trying ARK (sample2) -->
<h1>Trying the Arusha Project, `sample2'-style</h1>
X
(Team `<a href="index-sample1.html">sample1</a>' provides
an <a href="try-ark2.html">alternative test-drive</a>...)
<p>
ToDo!
X
<!-- the end -->
SHAR_EOF
  (set 20 00 10 19 22 29 53 'try-ark2.txt'; eval "$shar_touch") &&
  chmod 0644 'try-ark2.txt' ||
  $echo 'restore of' 'try-ark2.txt' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'try-ark2.txt:' 'MD5 check failed'
925ba1e803788adc6cd4910aa59bcab3  try-ark2.txt
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'try-ark2.txt'`"
    test 279 -eq "$shar_count" ||
    $echo 'try-ark2.txt:' 'original size' '279,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh20739
exit 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.