|
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.
Scott Mildenberger
Programmer/Analyst
Davis Transport Inc.
Missoula, MT
406-728-5510 x128
-----Original Message-----
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.
John McKee
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.
--
Chris Bipes
Director of Information Services
CrossCheck, Inc.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.