Re: node link as variable in bash script?
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
> help very much appreciated!
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@example.com