Date: Mon, 27 Dec 1999 18:11:04 -0800 From: "Duke Normandin" <01031149@3web.net> To: <freebsd-questions@FreeBSD.ORG> Subject: Re: cons25 && (midc, /stand/sysinstall, etc) Message-ID: <000601bf513c$ddf3e720$cb99c5d1@webserver>
next in thread | raw e-mail | index | archive | help
oliver... Thanks for more reading material...now the list is 3 pages long! ;-)) I DLed turorials on sh and csh, so that should help also. Between those and PHP and a bit od Perl, I should be thoroughly confused by the beginning of the 2nd quarter, 2000. thanks...duke -----Original Message----- From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG> Date: Monday, December 27, 1999 9:01 AM Subject: Re: cons25 && (midc, /stand/sysinstall, etc) >Duke Normandin wrote in list.freebsd-questions: > > From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> > > >#!/bin/sh - > > >midc "$@" > > >vidcontrol ... [whatever] > > > > > >Save the above as /usr/local/bin/mc, chmod 755 it, and you > > >should be done. > > > > Thanks for the script example! What does the "$@" do/mean? > >It will preserve all command-line options and arguments >(including any whitespace), and forward them to midc as-is. >See the explanation of ``@'' in the section "Special >Parameters" in the manpage of sh. > >Regards > Oliver > >-- >Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany >(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) > >"In jedem Stück Kohle wartet ein Diamant auf seine Geburt" > (Terry Pratchett) > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000601bf513c$ddf3e720$cb99c5d1>