Michael Velez <mailto:mikev777@xxxxxxxxxxx> on Thursday, November 03, 2005 4:19 AM said: > cp() > { > [ $((`expr " $*" : '.* -[a-zA-Z]*f[a-zA-Z]* .*'`)) -ne 0 ] || > [ $((`expr " $*" : '.* --force .*'`)) -ne 0 ] || > set -- -i ${1+"$@"} > command cp "$@" > } > > This function checks for --force and -f anywhere on the command line, > as well as it allows options to be combined with -f, such as -rfv. Awesome! Thanks Cameron and Michael. Chris. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list