how do I pass on options as-is within a script?
- From: "RolandRB" <rolandberry@xxxxxxxxxxx>
- Date: 12 Jan 2007 04:08:39 -0800
I want to write a bash script named "cpv" (copy with checksum
verification) that calls "cp" and passes on all the options that "cpv"
was invoked with through to "cp" without any change. Can you tell me
the best way to do this?
.
- Follow-Ups:
- Re: how do I pass on options as-is within a script?
- From: Ron Hardin
- Re: how do I pass on options as-is within a script?
- From: Stephan Grein
- Re: how do I pass on options as-is within a script?
- From: Stephane CHAZELAS
- Re: how do I pass on options as-is within a script?
- Prev by Date: Re: Shell Script getting stuck when running automatically
- Next by Date: Re: how do I pass on options as-is within a script?
- Previous by thread: Shell Script getting stuck when running automatically
- Next by thread: Re: how do I pass on options as-is within a script?
- Index(es):