bash script question
Dánielisz László
laszlo_danielisz at yahoo.com
Tue Dec 1 19:48:44 UTC 2009
I just find out:
#!/usr/local/bin/bash
export IFS=" "
cuc=$*
mkdir "cuc"
Thanks anyway!
László
________________________________
From: Dánielisz László <laszlo_danielisz at yahoo.com>
To: freebsd-questions at freebsd.org
Sent: Tue, December 1, 2009 8:37:04 PM
Subject: bash script question
Hello,
I'd like to ask how can I read a variable in the same line when I launch a script?
For example "./script.sh directory_name", and I want the script to creat the directory called "directory_name" or whatever I input there.
Thank you!
László
More information about the freebsd-questions
mailing list