Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell script help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 1240200" data-attributes="member: 51052"><p>Ahhhhh that's why. See the ^M's? That's what's doing it. </p><p></p><p>Try this in terminal</p><p></p><p>tr -d '\015\032' < test.sh</p><p></p><p></p><p>this is one of those times I wish OS X had dos2unix in the default build.</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 1240200, member: 51052"] Ahhhhh that's why. See the ^M's? That's what's doing it. Try this in terminal tr -d '\015\032' < test.sh this is one of those times I wish OS X had dos2unix in the default build. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell script help
Top