I just had a weird experience. I hope someone has an idea what happened.

I created a new shell script from the unix shell by putting two commands in a file:

        echo "Command 1" > newfile.sh
        echo "Command 2" >> newfile.sh

I then edited the resulting file. In the file I created a line (using bbedit) with the following syntax:

TARGET_DIR="/path/to/target"

After I saved the file something strange happened. Instead of having regular double quotes (") around the path there was a non printable character around the path. Using "od" I found out that this was \323 (octal specification). Whatever I searched I could not find how to convert this into a regular character. For test I created a new file from scratch and does seem to work normally which makes me think it must have something to do with the contents of the file.

Any advise?

        Fred


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

  • [no subject] Fred Appelman

Reply via email to