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
Bash shell scripting in OS X
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="V6Pony" data-source="post: 1419375" data-attributes="member: 177295"><p>I'm finding it difficult to learn from the included links. As below</p><p></p><p>set VALUE ="Four"</p><p></p><p>echo $VALUE</p><p># or...</p><p>setenv VALUE "Four"</p><p> </p><p>echo "$VALUE score and seven years ago...."</p><p></p><p>This is from Shell Scripting Primer listed above. It is wrong as best as I can tell. For the bash shell it should be. </p><p></p><p>VALUE="Four"</p><p>echo $VALUE</p><p></p><p>I just keep running into tutorials that are not right. I spend most of my time trying to figure out what is wrong. Not sure if it is just the different commands in OS X command line or what. Anyone offer any guidance to me on this issue?</p></blockquote><p></p>
[QUOTE="V6Pony, post: 1419375, member: 177295"] I'm finding it difficult to learn from the included links. As below set VALUE ="Four" echo $VALUE # or... setenv VALUE "Four" echo "$VALUE score and seven years ago...." This is from Shell Scripting Primer listed above. It is wrong as best as I can tell. For the bash shell it should be. VALUE="Four" echo $VALUE I just keep running into tutorials that are not right. I spend most of my time trying to figure out what is wrong. Not sure if it is just the different commands in OS X command line or what. Anyone offer any guidance to me on this issue? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Bash shell scripting in OS X
Top