system command
Dennis Malen
dmalen at malen.com
Tue Nov 1 15:39:25 PST 2005
Ken,
I'm at my wits end just like everyone else. Whatever time everyone else has
spent (which I appreciate) we have spent 15 or 20 fold. I have three others
in my office working on this.
I'm sorry I don't remember everything you suggested. One I do remember is
the request to redirect. We have printed each suggestion and sat down with
our staff and tried each one. None worked. Mark's was the closest in getting
something into a redirected file. I put that on the list.
As far as your question of creating a an executable file that is a shell
script, that was very simple. We went into a text editor and typed in the
line. We saved the file. We then executed the file in two ways to verify
that the new approach would work.
1. We executed the file on the UNIX command line.
2. We used the system command in filepro processing - system /tmp/file.
Both 1 and 2 work flawlessly. We now have the task of attempting to break up
the file and create two files and merge everything on one line through
system command.
Dennis Malen
516.479.5912
----- Original Message -----
From: "Kenneth Brody" <kenbrody at bestweb.net>
To: "Dennis Malen" <dmalen at malen.com>
Cc: <filepro-list at lists.celestial.com>; "pmahler" <pmahler at malen.com>
Sent: Tuesday, November 01, 2005 6:10 PM
Subject: Re: system command
> Quoting Dennis Malen (Tue, 1 Nov 2005 17:50:40 -0500):
>
>> Mark,
>>
>> I have tried everyone's suggestions and then some. I used the
>> redirecting suggestion, I used your changes in the script, I have
>> done what Ken requested. It does not work.
>
> Which of my suggestions did you try, and can you define "does not
> work"? Since my suggestions weren't solutions, but rather methods
> to determine the problem, what "didn't work" about them?
>
>> I have also tried the sh -c.
>
> What came after the "sh -c"?
>
>> You say it worked on your system flawlessly. What worked! Did it execute
>> the file or did you just see a return script.
>
> You create a text file. How does one "execute" a text file that's not
> a shell script?
>
>> How do you know it worked. I used all your scripts and it didn't work..
>
> My guess is that you posted somewhere along the way what is the exact
> sequence of characters you needed created, and his file contained these
> characters. (This thread has gone back and forth so many times, I've
> forgotten if this sequence was posted, or what it consisted of.)
>
>> My last suggestion did work if the script was in an executable file.
>> My only problem is being able to append to the line so I can put in
>> the variable record number. Note, it must append to the line and not
>> go to the next line. If anyone knows how to do it, please let me know.
>
> Don't put a newline into the file.
>
>> I had to develop a work around after the suggestions did not work. You
>> can't blame me for that.
> [...]
>
> But you never told us the outcome of the suggestions. Since none of
> my suggestions were solutions, but rather methods of determining what
> was the problem, how can one say they "didn't work"?
>
> What suggested solutions have you tried?
>
> --
> KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
>
>
>
More information about the Filepro-list
mailing list