| 1 |
#! /bin/sh |
| 2 |
# $Xorg: ListContexts,v 1.3 2000/08/17 19:54:01 cpqbld Exp $ |
| 3 |
# |
| 4 |
|
| 5 |
# Copyright (c) 1993 Quarterdeck Office Systems |
| 6 |
# |
| 7 |
# Permission to use, copy, modify, distribute, and sell this software |
| 8 |
# and software and its documentation for any purpose is hereby granted |
| 9 |
# without fee, provided that the above copyright notice appear in all |
| 10 |
# copies and that both that copyright notice and this permission |
| 11 |
# notice appear in supporting documentation, and that the name |
| 12 |
# Quarterdeck Office Systems, Inc. not be used in advertising or |
| 13 |
# publicity pertaining to distribution of this software without |
| 14 |
# specific, written prior permission. |
| 15 |
# |
| 16 |
# THIS SOFTWARE IS PROVIDED `AS-IS'. QUARTERDECK OFFICE SYSTEMS, |
| 17 |
# INC., DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 18 |
# INCLUDING WITHOUT LIMITATION ALL IMPLIED WARRANTIES OF |
| 19 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR |
| 20 |
# NONINFRINGEMENT. IN NO EVENT SHALL QUARTERDECK OFFICE SYSTEMS, |
| 21 |
# INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING SPECIAL, |
| 22 |
# INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA, OR |
| 23 |
# PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS |
| 24 |
# OF WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT |
| 25 |
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 26 |
|
| 27 |
list=@List |
| 28 |
|
| 29 |
for i in $RSTART_GLOBAL_CONTEXTS \ |
| 30 |
$HOME/$RSTART_LOCAL_CONTEXTS |
| 31 |
do |
| 32 |
if test -f $i/$list |
| 33 |
then |
| 34 |
sed -e '/^$/d' -e '/^#/d' $i/$list |
| 35 |
fi |
| 36 |
done |