#!/bin/sh 
#  Copyright 1995, Richard M. Troth, all rights reserved.   <plaintext> 
# 
#	  Name: rls (shell script) 
#		'ls' files in "receive pool" 
#	Author: Rick Troth, Houston, Texas, USA 
#	  Date: 1995-Jan-14, Apr-29 
# 
 
# 
# set some variables: 
D=/usr/spool/uft/$LOGNAME 
if [ -n "$UFT_SPOOLDIR" ]; then D="$UFT_SPOOLDIR"; fi 
 
# 
# make sure we have a UFT spool directory: 
if [ ! -d "$D" ]; then 
	mkdir "$D" 
	chmod 700 "$D" 
	fi 
if [ ! -d "$D" ]; then 
	echo "UFT configuration problem: no spool directory" 
	exit 1 
	fi 
 
# 
# a simple command: 
cd "$D" 
for F in `ls -t *.cf | sed 's/.cf//'` ; do 
	if [ ! -f $F.cf ]; then continue; fi 
	ls -l $F.df | sed 's/.df//' 
	done 
 
exit 
 
