^M hell…

Why does my script not work? Why does the interpreter throw some stupid error – oh yeah its probably because the file was saved in windows and now has lots of ^M’s in it. Its simple to remove these, and well I’ve written about this [before] – so was nice and quick this morning to figure that out 🙂 – once I realized that was the issue. In essence (for once) vi is your friend.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: