Results 1 to 4 of 4
I'm an early beginner in scripting, but I've been asked to do some for a job. I've been given some scripts to work with in csh but I need to ...
- 09-14-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
csh to bash syntax conversion
I'm an early beginner in scripting, but I've been asked to do some for a job. I've been given some scripts to work with in csh but I need to make them bash-friendly. I'm getting these "bad substitution" errors for the following syntax:
${?TARGET_CPU}
I've figured out what the syntax means in csh, but I'm having a really hard time finding the equivalent in bash. Any insight or suggestions would be greatly appreciated
Thanks,
Ashley
- 09-15-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Time to invest in some bash-for-beginners books. There are a number available, and quite a bit of online documentation as well. Remember, google is your friend! You have way too much to learn to ask all of your questions here. Once you have a handle on your basic problems, then come back here with questions you haven't been able to resolve yourself first.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-15-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
Oh gee, what's Google? You know, somehow I managed to stumble my way into a Linux forum to ask my questions but didn't know to Google them first. I'm not an idiot, yes I know how to google things and look up bash tutorials, but the specific conversion I was looking for was quite difficult to find. Sorry to bother you with my problems. I asked for help or suggestions, not your condescending bs. In the future, spare me.
- 02-10-2010 #4


Reply With Quote
