Date: Tue, 1 Dec 2009 11:48:43 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: bash script question Message-ID: <560275.79074.qm@web30808.mail.mud.yahoo.com>
index | next in thread | raw e-mail
I just find out: #!/usr/local/bin/bash export IFS=" " cuc=$* mkdir "cuc" Thanks anyway! László ________________________________ From: Dánielisz László <laszlo_danielisz@yahoo.com> To: freebsd-questions@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óhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560275.79074.qm>
