shell scripting: variable problem
I'm writing code that takes the arguments presented to the script and prints them back out again. heres my code:
Code:
#!/usr/bin/bash |
Code:
count=`expr $count + 1` |
that fixed it, but i noticed another thing.... when i do echo $token, it will print out $1 instead of actually printing out the value in $1. Any way to fix that?
|
Try this...
Code:
#!/bin/bash |
Code:
#!/bin/bash |
or
Code:
#!/bin/bash |
when we say number=$# what does $# imply? What does it mean?
|
Quote:
|
All times are GMT -5. The time now is 10:07 AM. |