What Chris is saying could make sense if one or more of the parameters are now bigger than they were previously. You may need to add more spaces.
Davis Transport Inc.
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John McKee
Sent: Wednesday, August 14, 2013 11:52 AM
To: Midrange Systems Technical Discussion
Subject: Re: Secure copy (scp) issue
Original script had one space between the two parameters. Nothing was truncated. The single space between scp and the first parameter was left alone, but the space between the parameters was totally removed.
Replacing the single space with 4 spaces had the same result - single space following scp and no space between the two parameters. Also, nothing truncated or mangled.
On Wed, Aug 14, 2013 at 11:56 AM, Chris Bipes <chris.bipes@xxxxxxxxxxxxxxx> wrote:
I have run into something similar to this before. The problem being that the shell parser would build the command, expanding the variables. It would not insert white space between the parameters so you had to put enough spaces in the line to hold the expanded variables. Try adding a few more blanks in your script and see if the expanded variables still generate the line all run together.
Director of Information Services