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 -- Ken Irving, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]