Re: [SLUG] Bash Script - Solved

From: Bob Stia (rnr@sanctum.com)
Date: Tue May 31 2005 - 00:10:26 EDT


On Monday 30 May 2005 10:27, Eben King wrote:
> On Mon, 30 May 2005, Paul M Foster wrote:
> > I agree, you should recreate the script in something that won't
> > mess with the content. There are tons of programs like this,
> > designed strictly to output straight text. Most of them are console
> > programs. There are vi, emacs, nano, pico, joe, vim, etc. etc.
>
> Unless you want to learn vi(m) or emacs, I recommend a WYSIWYG
> editor, such as nano, pico, nedit, etc. Be sure to tell it _not_ to
> wrap long lines.

Eben, Paul, Rob and others who kindly tried to help me with this strange
problem.

It is finally solved but I really don't know why. Has to do with some
strange hidden commands unseen in the script. I discovered it when I
posted the script to a webpage for Eben to look at. And it only showed
up in the webpage composer.

When I put the script text onto the webpage composer I noticed some
strange html markup in the script. Grey vertical lines before and after
text within the script. Tonight I took the script text that Paul had
composed an put it on an html page in the webpage composer. Same
strange grey vertical lines in the html markup. So, there was something
in there that was hidden even to Paul.

So I edited the markup and removed those strange lines, saved it as a
regular file with kwrite, and lo & behold, the script worked !!!!

Really strange ! Have no idea what that could have been. Probably
should have viewed the html. Might have told me what it was. I saved
that script and when I have the time (soon, I hope) (Got to get all
those converted images up for the webpage) I will do it again to see if
I can find what it was. Hmmm...a new way to view errant scripts for
errors.

I really want to thank all of you for your patience and perseverance in
trying to track down this strange problem. (probably caused by my
inexperience and lack of knowledge in an area that is new to me )

What a great group of people !!

Bob S.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:29:38 EDT