Operating System - HP-UX
1832177 Members
3008 Online
110038 Solutions
New Discussion

Re: redirecting out put to comma seperated file

 
OldSchool
Honored Contributor

Re: redirecting out put to comma seperated file

Dennis: Well, chalk this up to "you learn something new every day". :-) It's a behavior I never noticed (nor had pointed out 'till now).

Now, back to the problem at hand:

I believe the OP would be better served if he broke his (rather large) script into a series of smaller ones that leave intermediate files that he can examine before running each subsequent step. Or barring that, at least left the output of each step available for examination. Of course, this could lead to a whole new can of worms, if not done properly.

It concerns me that he has to 'recreate input' every time, and *that* process may not be consistent, which is leading this issue.

I noted that when he posted the zip file that had the script and the two csv files, that the one titled "CorrectFormate.csv" contained only single spaces, while the one titled "Notcorrect formate.csv" maintained the spacing as in the original (i.e. double spaces where appropriate). This is the inverse of the stated issue, so I'm begining to wonder if the OP knows what the desired results really are.

In addition, the 'tried...didn't work'
OldSchool
Honored Contributor

Re: redirecting out put to comma seperated file

uhhh...

"In addition, the 'tried...didn't work':.....isn't very helpful.

It appears that this should have been a 10 second fix...don't know where the process is getting derailed.