Ken Irving wrote:
On Tue, Mar 04, 2008 at 06:48:43PM +0100, e s wrote:
bash help
how do I make a node as a variable in a bash script?
I tried different things but none works.
something like
#variable
NODE="/dev/rfcomm2"

help very much appreciated!
-e

I don't understand your question.  Bash variables are not typed, and
you can use $NODE where the string "/dev/rfcomm2" would otherwise be used,
e.g., perhaps with mknod(1):

    ...
    mknod $NODE c $MAJOR $MINOR


well, I had a space in there
number = 3
number=3

thanks anyway


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to