#!/bin/sh
if [ "${1:-}" = "-x" ] ; then set -xv; shift; fi
set -u  # force better programming and ability to use check for not set

# This script returns prints the flat files and not the diectories
# in  the current working directory. It is meant to be useful in
# the "install" targets of Makefiles. e.g.:
# install:
#	cp `justfiles` $(INSTALL_DIR)/doc 

for f in * ; do if [ -f $f ] ; then echo -n "$f " ; fi done
echo 