#!/bin/sh
#
# snagargs
#
# This shell script uses libosnag.so.1.0 to intercept all getopt()
# calls.  The getopt calls within libosnag.so.1.0 will display all of
# the command line flags, both long and short, and then exit the program.
#
# This is very useful when you want to find out command line flags
# to a program with poor documentation and no -h or -? options.
#
# One other great use is to find out undocumented command line
# flags in programs.
#
#
# David Goldsmith
# dhg@dec.net
# http://www.dec.net
# Sun Aug 31 05:29:05 PDT 1997


LD_PRELOAD=/usr/local/lib/libosnag.so.1.0
export LD_PRELOAD 

$*

