code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
#
# This is intended to be sourced with the "." command from another script.
#
# Determine the best way to make new directory trees. Order of preference:
#
# 1. mkdir -p this will be the cleanst solution if it ex... | Shell |
#! /bin/sh
#
# Make architecture/operating-system dependend sanity checks.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
while test -z "$SANITY_OK"
do
SANITY_OK=$$
export SANITY_OK
REAL_SH=sh
... | Shell |
#! /bin/sh
#
# Complete Z-Mail installation or re-installation as a fresh copy
#
# This is intended to be sourced with the "." command from liteinstall.sh.
#
# Copyright 1993-98 NetManage, All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if test -f doinstall.sh
... | Shell |
#! /bin/sh
#
# Install Z-Mail Lite, possibly on top of Z-Mail
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
case $ZC_INTRODUCTION in
$$) ;;
*)
ZC_INTRODUCTION=$$
export ZC_INTRODUCTION
SOFTWARE='... | Shell |
#! /bin/sh
#
# Figure out where X resources go, subject to later user modification
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
host=`uname`;
if [ $host = "FreeBSD" ]
then
ZAPPLRESDIR=/usr/X11R6/lib/X11/app-... | Shell |
#!/bin/sh
echo ""
if [ $# -ne 1 ]
then
echo "Warning: number of arguments to locale.sh should be 1"
arg="zmail"
else
arg=$1
fi
#first copy to ZMLIB
echo "Copying catalog files to $ZMLIB"
if [ $arg = zmail ]
then
cp lib/locale/C/zmail $ZMLIB/locale/C/zmail.bin
cp lib/locale/C/zmail $ZMLIB/locale/C/zmail.small.bin
el... | Shell |
#! /bin/sh
#
# Figure out how to do echo without newline
#
# This is intended to be sourced with the "." command from another script.
if test -z "$ECHON"
then
c=`echo "hi there\c" | sed 's/[^c]//g'`
if test -z "$c"
then
n=''
c='\c'
else
n='-n'
c=''
fi
ECHON=true
fi
| Shell |
#! /bin/sh
#
# Get the hostid of the current machine (or 0 if none).
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
UNAME=`(uname -a) 2>/dev/null`
case "$UNAME" in
AIX*) hostid=`uname -m`;;
IRIX*\ 5.*)
hos... | Shell |
#!/bin/sh
if [$NLSPATH == ""]
then
NLSPATH=LIBPATH/zmail
export NLSPATH
else
NLSPATH=$NLSPATH:LIBPATH/zmail
export NLSPATH
fi
BINPATH/zmailbin.small $*
| Shell |
#! /bin/sh
#
# Complete a Z-Mail Lite upgrade
#
# This is intended to be sourced with the "." command from liteinstall.sh.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if test -f doinstall.sh
then
.... | Shell |
#!/bin/sh
if [ -z $NLSPATH]
then
NLSPATH=LIBPATH/zmail
export NLSPATH
else
NLSPATH=$NLSPATH:LIBPATH/zmail
export NLSPATH
fi
$BINPATH/zmailbin -gui $*
| Shell |
#! /bin/sh
#
# ensure existence of nls directory if necessary
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1995 Z-Code Software, a Division of NCD. All rights reserved.
grep "^$ZCARCHITECTURE\$" >/dev/null 2>&1 <<EOM
apollo
dgux
m88k
mR40
ncr486
osf1
osf1v30
pyrsvr4
irix5... | Shell |
#! /bin/sh
#
# This script expects its arguments to be directory pathnames. For each
# argument, it creates all the directories leading up to the target
# directory before creating the directory itself.
#
# adapted from IRIX4 X11R4 /usr/bin/X11/mkdirhier
#
# This probably will not do the right thing if the directory n... | Shell |
#! /bin/sh
#
# Set up Z-Mail install environment based on architecture/operating-system.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
ZCAPPDEF=Zmail
export ZCAPPDEF
while :
do
case $ZCARCHITECTURE in
... | Shell |
#! /bin/sh
#
# Figure out how to get ls to report the group name in column 4
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All Rights Reserved.
if test -z "$LSGETGR"
then
# Figure out how to get the group name from ls
ls=... | Shell |
#! /bin/sh
#
# Install Z-Mail
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
case $ZC_INTRODUCTION in
$$) ;;
*)
ZC_INTRODUCTION=$$
export ZC_INTRODUCTION
SOFTWARE='OpenZMail Classic'
export SO... | Shell |
#! /bin/sh
#
# Get the version number of the software to be installed.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -n "$USE_BINARY"
then
VERSION=`$USE_BINARY -version 2>/dev/null | sed 1q`
elif ... | Shell |
#!/bin/sh
echo ""
if [ $# -ne 1 ]
then
echo "Warning: number of arguments to locale.sh should be 1"
arg="zmail"
else
arg=$1
fi
#first copy to ZMLIB
echo "Copying catalog files to $ZMLIB"
if [ $arg = zmail ]
then
cp lib/locale/C/zmail $ZMLIB/locale/C/zmail.bin
cp lib/locale/C/zmail $ZMLIB/locale/C/zmail.small.bin
el... | Shell |
#! /bin/sh
#
# Make architecture/operating-system dependend sanity checks.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
while test -z "$SANITY_OK"
do
SANITY_OK=$$
export SANITY_OK
REAL_SH=sh
... | Shell |
#! /bin/sh
#
# Copy one directory tree to another, possibly saving the target on the way
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
#
# The caller must define variables that tell what to copy:
# $TREE_TO_R... | Shell |
#! /bin/sh
#
# Complete a Z-Mail Lite upgrade
#
# This is intended to be sourced with the "." command from liteinstall.sh.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if test -f doinstall.sh
then
.... | Shell |
#! /bin/sh
#
# Set up Z-Mail install environment based on architecture/operating-system.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
ZCAPPDEF=Zmail
export ZCAPPDEF
while :
do
case $ZCARCHITECTURE in
... | Shell |
#! /bin/sh
#
# Check whether this is an upgrade or a new installation.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
while test -f scripts/upgrade.sh -a -z "$ZC_DOING_UPGRADE"
do
cat <<EOM
Please enter a... | Shell |
#! /bin/sh
#
# Move aside obsolete files from an existing installation.
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$ZMLIB"
then
echo 1>&2 "I do not know where your Z-Mail Library is (ZMLIB ... | Shell |
#!/bin/sh
if [ -z $NLSPATH]
then
NLSPATH=LIBPATH/zmail
export NLSPATH
else
NLSPATH=$NLSPATH:LIBPATH/zmail
export NLSPATH
fi
$BINPATH/zmailbin -gui $*
| Shell |
#! /bin/sh
#
# Complete Z-Mail installation or re-installation as a fresh copy
#
# This is intended to be sourced with the "." command from zminstall.sh.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if t... | Shell |
#! /bin/sh
#
# Install X resources in the appropriate place (see xrescheck.sh).
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
# Check for existence of XAPPLRESDIR
if test -n "$XAPPLRESDIR"
then
echo Insta... | Shell |
#! /bin/sh
#
# ensure existence of nls directory if necessary
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1995 Z-Code Software, a Division of NCD. All rights reserved.
grep "^$ZCARCHITECTURE\$" >/dev/null 2>&1 <<EOM
apollo
dgux
m88k
mR40
ncr486
osf1
osf1v30
pyrsvr4
irix5... | Shell |
#! /bin/sh
#
# Register software activation keys
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
. scripts/echon.sh
PRODUCTS="
Z-Mail
Z-Mail Lite
Z-Fax
Z-Mail Network License Server (ZCNLS)
"
while test ... | Shell |
#! /bin/sh
#
# Complete Z-Mail installation or re-installation as a fresh copy
#
# This is intended to be sourced with the "." command from liteinstall.sh.
#
# Copyright 1993-98 NetManage, All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if test -f doinstall.sh
... | Shell |
#! /bin/sh
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
#
# This is intended to be sourced with the "." command from another script.
#
# Determine the best way to make new directory trees. Order of preference:
#
# 1. mkdir -p this will be the cleanst solution if it ex... | Shell |
#! /bin/sh
#
# Determine if a mail program needs to be installed set-group-id
#
# This is intended to be sourced with the "." command from another script.
#
# Copyright 1992-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$SOFTWARE"
then
SOFTWARE=Z-Mail # So our output text looks sensible
... | Shell |
#! /bin/sh
#
# Figure out how to do echo without newline
#
# This is intended to be sourced with the "." command from another script.
if test -z "$ECHON"
then
c=`echo "hi there\c" | sed 's/[^c]//g'`
if test -z "$c"
then
n=''
c='\c'
else
n='-n'
c=''
fi
ECHON=true
fi
| Shell |
#! /bin/sh
#
# This script expects its arguments to be directory pathnames. For each
# argument, it creates all the directories leading up to the target
# directory before creating the directory itself.
#
# adapted from IRIX4 X11R4 /usr/bin/X11/mkdirhier
#
# This probably will not do the right thing if the directory n... | Shell |
#! /bin/sh
#
# Complete a Z-Mail upgrade
#
# This is intended to be sourced with the "." command from zminstall.sh.
#
# Copyright 1993-94 Z-Code Software, a Division of NCD. All rights reserved.
if test -z "$SOFTWARE"
then
if test -f install.sh
then
cd ..
fi
if test -f doinstall.sh
then
. doinst... | Shell |
#!/bin/sh -e
# Run this script in the top-level source directory after creating a
# source tree (via "cvs checkout" or "cvs export" or some other means)
# to create the doc subtree, which is required for "make
# distribution".
t=${TMPDIR-/tmp}
d=${DOCDIR-/zyrcon/usr1/build/DocRep}
vlite=`sed -n -e 's/^ \* lite versi... | Shell |
#!/bin/sh
# Function show_usage takes no arguments. It prints a message to
# stdout briefly describing the invocation format of this script
show_usage='echo "usage: $0 ostype-name ui-name [ options ]"'
# Function show_ostypes takes no arguments. It prints a message to
# stdout listing the valid operating system ... | Shell |
cd win32
cd ..
cd wingui
cvs remove about2.cpp
cvs remove about2.h
cvs remove about.cpp
cvs remove about.h
cvs remove acctable.cpp
cvs remove acctable.h
cvs remove actionar.cpp
cvs remove actionar.h
cvs remove address.cpp
cvs remove address.h
cvs remove aliases.cpp
cvs remove aliases.h
cvs remove attacha.cpp
cvs remove... | Shell |
rm mapi16.cpp
rm mapidata.h
rm mapi.def
rm mapiglob.cpp
rm mapiglob.h
rm mapi.h
rm mapi.mak
cvs remove mapi16.cpp
cvs remove mapidata.h
cvs remove mapi.def
cvs remove mapiglob.cpp
cvs remove mapiglob.h
cvs remove mapi.h
cvs remove mapi.mak
| Shell |
#!/bin/sh -ep
parts="`ls -dt \"$1\"/* | egrep '/[0-9]+$'`"
stale="`find $parts -mtime +2 -print`"
if [ -n "$stale" ]; then
oldest="`echo \"$parts\" | head -1`"
date="`ls -l \"$oldest\" | awk '{ print $6, $7, $8 }'`"
from="`sed -n '1,/^$/s/^From:[ ]*//p' \"$oldest\" | head -1`"
if [ -z "$from" ]; then from=s... | Shell |
#!/bin/sh -ep
parts="`ls -dt \"$1\"/* | egrep '/[0-9]+$'`"
stale="`find $parts -mtime +2 -print`"
if [ -n "$stale" ]; then
oldest="`echo \"$parts\" | head -1`"
date="`ls -l \"$oldest\" | awk '{ print $6, $7, $8 }'`"
from="`sed -n '1,/^$/s/^From:[ ]*//p' \"$oldest\" | head -1`"
if [ -z "$from" ]; then from=s... | Shell |
cvs remove nextatt.pl
cvs remove nextatt.sh
cvs remove README
cvs remove readNeXT.pl
cvs remove rmfoo.sh
cvs remove rtftxt.c
cvs remove unnext
| Shell |
#!/bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 1.11
# Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
# This configure script is free software; you can redistribute it and/or
# modify it under the terms of the GNU Gene... | Shell |
#!/bin/sh
exec 2>&1
ZMLIB=/usr/lib/Zmail
export ZMLIB
/usr/local/bin/zmail -i -shell -noinit! \
-zcnlserv zyrcon:2721 \
-source /tmp/"$1".initrc \
-eval "set index_dir = /tmp; open '$2'; \
update; quit"
| Shell |
#!/bin/sh
exec 2>&1
/usr/local/bin/zmail -i -noinit! -version
| Shell |
#!/bin/sh
exec 2>&1
ZMLIB=/usr/lib/Zmail
export ZMLIB
/usr/local/bin/zmail -i -shell -noinit! \
-zcnlserv zyrcon:2721 \
-source /tmp/"$1".initrc \
-eval "set index_dir = /tmp; open '$2'; \
update; quit"
| Shell |
#!/bin/sh
exec 2>&1
/usr/local/bin/zmail -i -noinit! -version
| Shell |
cd win32
cd ..
cd wingui
rm about2.cpp
rm about2.h
rm about.cpp
rm about.h
rm acctable.cpp
rm acctable.h
rm actionar.cpp
rm actionar.h
rm address.cpp
rm address.h
rm aliases.cpp
rm aliases.h
rm attacha.cpp
rm attacha.h
rm attachd.cpp
rm attachd.h
rm attachfr.cpp
rm attachfr.h
rm attachi.cpp
rm attachi.h
rm attach.typ
r... | Shell |
cvs remove Features
cd delphi
cvs remove zmailmnu.rc
cvs remove variable
| Shell |
rm Features
cd delphi
rm zmailmnu.rc
rm variable
| Shell |
cd mac
cvs remove BuildNotes
cvs remove Distribution-Steps
cvs remove KnownBugs
cvs remove type-reg.txt
cd ..
cd mac/catrsrc
cvs remove catrsrc.c
cvs remove catrsrc.h
cvs remove catrsrc.make
cvs remove catrsrc.r
cd ../..
cd mac/c-mac
cvs remove binhex.c
cvs remove binhex.h
cvs remove configuration.cp
cvs remove configu... | Shell |
rm mapidata.h
rm mapi.def
rm mapifunc.cpp
rm mapiglob.cpp
rm mapiglob.h
rm mapi.h
rm mapiinfo.txt
rm mapimain.cpp
rm mapi.mak
rm mapimem.cpp
rm mapimem.h
rm mapi.rc
rm mapi.rcv
rm mapiutil.cpp
rm mapiutil.h
rm resource.h
cvs remove mapidata.h
cvs remove mapi.def
cvs remove mapifunc.cpp
cvs remove mapiglob.cpp
cvs rem... | Shell |
cvs remove hostserv.c
cvs remove hostserv.h
cvs remove lsnetw.c
cvs remove access.c
cvs remove access.h
cvs remove client.h
cvs remove den.c
cvs remove den.h
cvs remove enter.c
cvs remove enter.h
cvs remove error.c
cvs remove foo.sh
cvs remove hosterr.h
cvs remove InstallNLS.txt
cvs remove library.c
cvs remove library.... | Shell |
rm hostserv.c
rm hostserv.h
rm lsnetw.c
rm access.c
rm access.h
rm client.h
rm den.c
rm den.h
rm enter.c
rm enter.h
rm error.c
rm foo.sh
rm hosterr.h
rm InstallNLS.txt
rm library.c
rm library.h
rm local.mk
rm lscustom.c
rm lscustom.h
rm lsfile.c
rm lsfile.h
rm lsutil.c
rm lsutil.h
rm Makefile
rm netstuff.c
rm onelice.c... | Shell |
#!/bin/sh -e
# Run this script in the top-level source directory after creating a
# source tree (via "cvs checkout" or "cvs export" or some other means)
# to create the doc subtree, which is required for "make
# distribution".
t=${TMPDIR-/tmp}
d=${DOCDIR-/zyrcon/usr1/build/DocRep}
vlite=`sed -n -e 's/^ \* lite versi... | Shell |
cvs remove compat.h
cvs remove dirent.h
cvs remove machine:2Fansi.h
cvs remove machine:2Fendian.h
cvs remove machine:2Ftypes.h
cvs remove netdb.h
cvs remove netinet:2Fin.h
cvs remove netinet:2Ftcp.h
cvs remove sys:2Fcdefs.h
cvs remove sys:2Ferrno.h
cvs remove sys:2Ffcntl.h
cvs remove sys:2Fioctl.h
cvs remove sys:2Fsock... | Shell |
rm compat.h
rm dirent.h
rm machine:2Fansi.h
rm machine:2Fendian.h
rm machine:2Ftypes.h
rm netdb.h
rm netinet:2Fin.h
rm netinet:2Ftcp.h
rm sys:2Fcdefs.h
rm sys:2Ferrno.h
rm sys:2Ffcntl.h
rm sys:2Fioctl.h
rm sys:2Fsocket.h
rm sys:2Fstat.h
rm sys:2Ftime.h
rm sys:2Ftypes.h
rm sys:2Fuio.h
rm sys:2Fun.h
rm sys:2Funistd.h
rm ... | Shell |
#!/bin/sh
# Function show_usage takes no arguments. It prints a message to
# stdout briefly describing the invocation format of this script
show_usage='echo "usage: $0 ostype-name ui-name [ options ]"'
# Function show_ostypes takes no arguments. It prints a message to
# stdout listing the valid operating system ... | Shell |
cd mac
rm BuildNotes
rm Distribution-Steps
rm KnownBugs
rm type-reg.txt
cd ..
cd mac/catrsrc
rm catrsrc.c
rm catrsrc.h
rm catrsrc.make
rm catrsrc.r
cd ../..
cd mac/c-mac
rm binhex.c
rm binhex.h
rm configuration.cp
rm configuration.h
rm connection.c
rm dialogs.c
rm environ.c
rm environ.h
rm gui_stuff.c
rm GUSI-glue.cp
r... | Shell |
#!/bin/sh
#
# Shell script to perform substitutions on Z-mail data files.
# Lines in the input file starting with "@@" introduce special sequences:
#
# usage: ifdef.sh input-file output-file cpp-command cpp-command-args
#
# @@# comment text
# - comment (will not appear in the output of this script)
#
# @@ifdef sym
# ..... | Shell |
#!/bin/sh
indent -nbad -bap -nbc -bli4 -br -cd0 -ncdb -ce -ci4 -cli4 -ncs -bs -di0 -nfc1 -nfca -i4 -ip0 -l79 -lc79 -nlp -npcs -nsob -nss -npro -psl -sc -ts8 ${1+"$@"}
| Shell |
#! /bin/sh
# sh script to generate a list of dependencies of .o files on .h files
# included in the .c sources
# Usage: depend [-a] [-s] [sources]
# or: depend [-Dx=y] [-Idirectory] [-Ux=y] [sources]
# Option -a (for ALL) will also list dependencies of .h files on other .h files
# If sources are listed on the c... | Shell |
#! /bin/sh
# sh script to generate a list of dependencies of .o files on .h files
# included in the .c sources
# Usage: depend [-a] [-s] [sources]
# or: depend [-Dx=y] [-Idirectory] [-Ux=y] [sources]
# Option -a (for ALL) will also list dependencies of .h files on other .h files
# If sources are listed on the c... | Shell |
#!/bin/sh
#
# Shell script to perform substitutions on Z-mail data files.
# Lines in the input file starting with "@@" introduce special sequences:
#
# usage: ifdef.sh input-file output-file cpp-command cpp-command-args
#
# @@# comment text
# - comment (will not appear in the output of this script)
#
# @@ifdef sym
# ..... | Shell |
#!/bin/sh
root=$1
shift
$root/config/ifdef.sh $root/lib/system.menus $root/lib/menus.tmp "$@"
case "$*" in
*-DMOTIF*)
sed > $root/lib/menus.tmp2 < $root/lib/menus.tmp \
-e '/^menu/s/ *-mnemonic . */ /' \
-e '/^menu/s/ *-M . */ /' \
-e "/^menu/s/ *-accelerator '[^']*' */ /" \
-e '/^menu/s/ *-accelerato... | Shell |
#!/bin/sh
indent -nbad -bap -nbc -bli4 -br -cd0 -ncdb -ce -ci4 -cli4 -ncs -bs -di0 -nfc1 -nfca -i4 -ip0 -l79 -lc79 -nlp -npcs -nsob -nss -npro -psl -sc -ts8 ${1+"$@"}
| Shell |
#!/bin/sh
# Configuration validation subroutine script, version 1.1.
# Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply AL... | Shell |
#! /bin/sh
{
echo "char *def_startup[] = {"
sed -e 's/^[ ]*//' \
-e '/^source $ZMLIB\/locale.zmailrc/r lib/locale.zmailrc' \
-e '/^source $ZMLIB\/locale.zmailrc/d' \
-e '/^source $ZMLIB\/zmail.menus/r lib/zmail.menus' \
-e '/^source $ZMLIB\/zmail.menus/d' \
< lib/system.zmailrc | \
sed -e 's/^[ ]*//' \
-e '/... | Shell |
#!/bin/sh
root=$1
shift
$root/config/ifdef.sh $root/lib/system.menus $root/lib/menus.tmp "$@"
( sed '/INSERT MENUS HERE/,$d' $root/lib/Zmail
@AWK@ -f $root/config/menudefs.awk
sed '1,/INSERT MENUS HERE/d' $root/lib/Zmail
) > $root/lib/menudefs.tmp < $root/lib/menus.tmp
sed -n 's/ERROR:\([^:]*\):\(.*\)/error on lin... | Shell |
#!/bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Lic... | Shell |
#!/bin/sh
# Certain implementations of the Borne shell have a 1K limit on the
# length of the target word for case statements. That presents a
# problem for our configure script, which easily exceeds this limit
# while accumulating $DEFS.
#
# This script attempts to hit this buffer limit in whatever shell
# interpret... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, ... | Shell |
:
# generate the signal names, in a slightly different format than
# signames.h. Also, get the maximum signal number.
# (Thanks, Larry Wall.)
sighdrs=""
test -f /usr/include/signum.h && sighdrs="$sighdrs /usr/include/signum.h"
test -f /usr/include/signal.h && sighdrs="$sighdrs /usr/include/signal.h"
test -f /usr/incl... | Shell |
TAR_CHASE=@TAR_CHASE@
FIND_CHASE=@FIND_CHASE@
USE_CP_DASH_P=true
TAR_NO_CHOWN=@TAR_NO_CHOWN@
mkpath='need=$DISTROOT; for part in `echo $DISTDIR/$destdir | sed '\''s:\(.\)/:\1 :g'\''`; do need=$need/$part; test -d $need || mkdir $need; done;'
DISTROOT=`echo $DISTROOT | sed -e 's:/$::' -e "s:^[^/]:$SRCDIR/&:" -e 's:^$... | Shell |
# may be obsolete? pf Wed Sep 8 08:41:09 1993
cp $2 resource.tmp
sed < resource.tmp > $2 's/version: .*/version: '`awk '
/define/ { if ($3 == "RELEASE") { release = $4 } }
/define/ { if ($3 == "REVISION") { revision = $4 } }
/define/ { if ($3 == "PATCHLEVEL") { patchlevel = $4 } }
END { print release ... | Shell |
#! /bin/sh
{
echo "char *def_startup[] = {"
sed -e 's/^[ ]*//' \
-e '/^source $ZMLIB\/locale.zmailrc/r lib/locale.zmailrc' \
-e '/^source $ZMLIB\/locale.zmailrc/d' \
-e '/^source $ZMLIB\/zmail.menus/r lib/zmail.menus' \
-e '/^source $ZMLIB\/zmail.menus/d' \
< lib/system.zmailrc | \
sed -e 's/^[ ]*//' \
-e '/... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, ... | Shell |
#!/bin/sh
# Certain implementations of the Borne shell have a 1K limit on the
# length of the target word for case statements. That presents a
# problem for our configure script, which easily exceeds this limit
# while accumulating $DEFS.
#
# This script attempts to hit this buffer limit in whatever shell
# interpret... | Shell |
#!/bin/sh
root=$1
shift
$root/config/ifdef.sh $root/lib/system.menus $root/lib/menus.tmp "$@"
case "$*" in
*-DMOTIF*)
sed > $root/lib/menus.tmp2 < $root/lib/menus.tmp \
-e '/^menu/s/ *-mnemonic . */ /' \
-e '/^menu/s/ *-M . */ /' \
-e "/^menu/s/ *-accelerator '[^']*' */ /" \
-e '/^menu/s/ *-accelerato... | Shell |
#!/bin/sh
root=$1
shift
$root/config/ifdef.sh $root/lib/system.menus $root/lib/menus.tmp "$@"
( sed '/INSERT MENUS HERE/,$d' $root/lib/Zmail
@AWK@ -f $root/config/menudefs.awk
sed '1,/INSERT MENUS HERE/d' $root/lib/Zmail
) > $root/lib/menudefs.tmp < $root/lib/menus.tmp
sed -n 's/ERROR:\([^:]*\):\(.*\)/error on lin... | Shell |
cd dos
rm dir.c
rm dirent.c
rm fsfix.c
rm getchar.c
rm gettod.c
rm makeenv.c
rm popen.c
rm pwd.c
rm select.c
rm stubs.c
rm ui_init.c
rm winstubs.c
cd ..
cd dos/build
rm altkeys
rm dospop.mak
rm features.h
rm lite.txt
rm maxsig.h
rm new_32.mak
rm ntwin32.mak
rm osconf.h
rm osconfig.h
rm protos.h
rm resource.h
rm sigarra... | Shell |
cd dos
cvs remove dir.c
cvs remove dirent.c
cvs remove fsfix.c
cvs remove getchar.c
cvs remove gettod.c
cvs remove makeenv.c
cvs remove popen.c
cvs remove pwd.c
cvs remove select.c
cvs remove stubs.c
cvs remove ui_init.c
cvs remove winstubs.c
cd ..
cd dos/build
cvs remove altkeys
cvs remove dospop.mak
cvs remove featur... | Shell |
#! /bin/sh -
# Usage:
# ltree <source> <destination>
#
# NOTE: Assumes that ../ always works, so <source> and <destination> must
# be on the same filesystem whenever NFS is involved.
# NOTE: Directories named CVS are omitted as a special case.
#
if [ $# -ne 2 ]
then
echo 'usage: ltree source-directory d... | Shell |
#! /bin/sh -
# Usage:
# ltree <source> <destination>
#
# NOTE: Assumes that ../ always works, so <source> and <destination> must
# be on the same filesystem whenever NFS is involved.
# NOTE: Directories named CVS are omitted as a special case.
#
if [ $# -ne 2 ]
then
echo 'usage: ltree source-directory d... | Shell |
#! /bin/sh
#
# Construct the attach.types file, and write it to stdout.
#
# Usage:
# buildat zmail.XXX where XXX is a platform type
#
# Baseline attachment types, the same everywhere.
cat attach.base
echo ""
cat attach.mim
echo ""
# Standard X11 attachment stuff.
cat attach.X11
echo ""
# Z-Code specific stuff.
cat a... | Shell |
#! /bin/sh
#
# Construct the attach.types file, and write it to stdout.
#
# Usage:
# buildat zmail.XXX where XXX is a platform type
#
# Baseline attachment types, the same everywhere.
cat attach.base
echo ""
cat attach.mim
echo ""
# Standard X11 attachment stuff.
cat attach.X11
echo ""
# Z-Code specific stuff.
cat a... | Shell |
#! /bin/sh
#
# Construct the attach.types file, and write it to stdout.
#
# Usage:
# buildat zmail.XXX where XXX is a platform type
#
# Baseline system.zmailrc stuff, the same everywhere.
cat zmailrc.base
echo ""
# Additional zmail settings and examples.
cat zmailrc.more
echo ""
case $1 in
*sun3)
;;
*sun4)
;;
*sgi... | Shell |
#! /bin/sh
#
# Construct the attach.types file, and write it to stdout.
#
# Usage:
# buildat zmail.XXX where XXX is a platform type
#
# Baseline system.zmailrc stuff, the same everywhere.
cat zmailrc.base
echo ""
# Additional zmail settings and examples.
cat zmailrc.more
echo ""
case $1 in
*sun3)
;;
*sun4)
;;
*sgi... | Shell |
#!/bin/sh
#
# This script is both a loadable zscript and a /bin/sh program. If fed to
# /bin/sh or the equivalent, "if true" succeeds and the first section of the
# file causes Z-Mail to run (and everything below "endif" to be ignored).
# If loaded (sourced) by Z-Mail, the "if true" fails and everything below
# the "... | Shell |
#!/bin/sh
#
# This script is both a loadable zscript and a /bin/sh program. If fed to
# /bin/sh or the equivalent, "if true" succeeds and the first section of the
# file causes Z-Mail to run (and everything below "endif" to be ignored).
# If loaded (sourced) by Z-Mail, the "if true" fails and everything below
# the "... | Shell |
:
set -e
mapping=`sed -n 's/^\#define[ ][ ]*\(CAT_[^ ][^ ]*\)[ ][ ]*\([^ ].*\)$/-e s:\1:\2:/p' $SRCDIR/include/catalog.h`
sed $mapping $@
| Shell |
#!/bin/bash -e
#
# build-<package>
#
# $Id: build-PACKAGE,v 1.5 1998/05/01 08:35:36 phil Exp $
#
# Written by Philip Hands <phil@hands.com>
# Copyright (C) 1998 Free Software Foundation, Inc.
# Copying: GPL
# ask_user --- function prompts the user with y/n style prompt
#
# It's behaviour is controlled via the paramet... | Shell |
#!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
# Type messages if necessary...
case "$2" in
*unoff1*)
db_input medium mush/oldpop || true
;;
*)
;;
esac
db_go
| Shell |
#!/bin/sh -e
# Source the debconf library
. /usr/share/debconf/confmodule
#DEBHELPER#
exit 0
| Shell |
#!/bin/sh -e
if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
# Source debconf library.
. /usr/share/debconf/confmodule
# Remove my changes to the db.
db_purge
fi
#DEBHELPER#
| Shell |
#!/bin/sh
# shar: Shell Archiver (v1.22+)
#
# Run the following text with /bin/sh to create:
# README.apollo
# makefile.apollo
# apollo.patch
# apollo_file.c
# apollo_pad.c
#
echo "x - extracting README.apollo (Text)"
sed 's/^X//' << 'SHAR_EOF' > README.apollo &&
XREADME.apollo - modifications to allow mush ... | Shell |
#! /bin/sh
me=`basename $0`
usage() {
>&2 echo "usage: $me -l, --lock"
>&2 echo " $me -u, --unlock"
exit 1
}
while [ $# -ne 0 ]
do
case "$1" in
--lock|-l)
test -z "$lockarg" || usage
lockarg="-l"
;;
--unlock|-u)
test -z "$lockarg" || usage
lockarg="-u"
;;
-f)
... | Shell |
#!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
# Nothing to do! (but we're required to do this)
#DEBHELPER#
| Shell |
#!/bin/sh -e
#DEBHELPER#
| Shell |
#!/bin/sh -e
# Source debconf library.
. /usr/share/debconf/confmodule
db_input medium mush-src/build || true
db_go || true
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.