X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Tue, 19 Feb 2008 12:35:31 +0100 From: Michelle Konzack Subject: Re: Need to find "mv" Message-ID: <20080219113531.GJ2017@freenet.de> References: <200802171940 DOT m1HJeoGS029849 AT envy DOT delorie DOT com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W13SgbpmD6bhZUTM" Content-Disposition: inline In-Reply-To: X-Message-Flag: Improper configuration of Outlook is a breeding ground for viruses. Please take care your Client is configured correctly. Greetings Michelle. X-Disclaimer-DE: Eine weitere Verwendung oder die Veroeffentlichung dieser Mail oder dieser Mailadresse ist nur mit der Einwilligung des Autors gestattet. Organisation: Michelle's Selbstgebrautes X-Operating-System: Linux tp570.private 2.4.27-2-686 X-Uptime: 12:14:01 up 15:08, 6 users, load average: 0.04, 0.18, 0.18 X-Homepage: http://www.debian.tamay-dogan.homelinux.net/ User-Agent: Mutt/1.5.9i Received: by tp570.private.tamay-dogan.net (TDSSMTP sendmail emulation); Tue, 19 Feb 2008 12:35:31 +0100 To: djgpp AT delorie DOT com Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --W13SgbpmD6bhZUTM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 2008-02-18 19:00:42, schrieb miner_tom: > However, I am having trouble with conditional statememts, like >=20 > if [-f file.c]; then > echo "file.c"' > fi >=20 > I get an error something like > "shellscript: [-f command not found. ATTENTION: You have a SINGEL-QUOTE after "file.c". And since "[" is a command, you should take care about SPACES and use if [ -f file.c ] ; then echo "file.c" fi Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant --=20 Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) --W13SgbpmD6bhZUTM Content-Type: application/pgp-signature; name="signature.pgp" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFHur8DXnHp6ejAnVoRAnCpAJ9m0TeuCLjErANuiB0qw1xpXv6R6gCfe7Ut JWdyAw5PIMUXZGFIo/qbr4g= =vogn -----END PGP SIGNATURE----- --W13SgbpmD6bhZUTM--