The UNIX and Linux Forums  
Hello and Welcome-tól az Egyesült Államokat, hogy az UNIX és Linux Forums? Köszönjük, hogy meglátogatta és csatlakozik Globális Közösség.

Go Back   A UNIX és Linux Forums > Top Fórumok > Shell programozás és Scripting
.
google unix.com



Shell programozás és Scripting Post kérdések KSH, CSH, SH, Bash, Perl, PHP, SED, AWK ÉS EGYÉB shell szkriptek és shell script nyelvek itt.

Több, UNIX és Linux fórum témák Ön által talált Hasznos
Szál Thread Starter Fórum Válaszok Utolsó hozzászólás
váratlan fájl vége naveeng.81 Shell programozás és Scripting 1 03-11-2008 06:43 AM
Váratlan "end of file '+ sed parancs kamel.seg Magas szintű Programozás 1 02-08-2008 11:00 AM
váratlan fájl vége dineshr85 Shell programozás és Scripting 2 10-15-2007 03:47 AM
gunzip: Unexpected end of file sicjedi A UNIX a fejlett és szakértői Felhasználók 4 09-15-2006 11:41 AM
'end of file "váratlan abhijeetkul Shell programozás és Scripting 4 04-10-2006 07:42 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Téma eszközök Keresés a téma Rate Thread Megjelenítési módok
  #1 (permalink)  
Old 04-28-2008
srisreeku srisreeku is offline
Regisztrált felhasználó
  
 

Join Date: Apr 2008
Hozzászólások: 1
'end of file "váratlan

HI,
Én átszámítása. Bat fájlt. Sh file for UNIX

Kódtöredék

#! / usr / bin / sh
set-x
if [ "$ 1" \u003d ""] then
goto RegularBuild;
CURDIR \u003d "$ 1";
cd "$ CURDIR";

: RegularBuild
echo "Checking for meglévő fip_help.properties a def / properties könyvtárban ..."
if [-f fip_help.properties] majd
rm-f fip_help.properties;

if [-f .. / .. / def / properties / fip_help.properties] majd
goto found;

echo "fip_help.properties nem található a def / properties directory"
goto gen;

: found
echo "Found fip_help.properties a def / properties könyvtárba."
echo "Copying fip_help.properties a def \ tulajdonságok könyvtárban ..."
cp .. / .. / def / properties / fip_help.properties.
goto gen;

: gen A
fip_help_gen.sh .. / .. / xml / fip_navigation.xml .. / .. / xsl / fip_popups.xsl
if [! -f fip_help.properties] majd
goto error;

echo "Copying fip_help.properties a def / properties könyvtárban ..."
fip_help.properties cp .. / .. / def / properties /. /
a chmod 444 .. / .. / def / properties / fip_help.properties
echo "fip_help.properties fájlt helyezett def / properties könyvtárba."
goto end

: hiba
echo "fip_help.properties fájl létrehozása nem sikerült"
goto end

: end
echo "befejezett"

Set + x

End of kódrészlet

Tudna valaki pont engem, hol rontottam el ...
Köszönöm,
Sreeku
 

Könyvjelzõk

Téma eszközök Keresés a téma
Keresés a téma:

Részletes keresés
Megjelenítési módok Rate this thread
Rate this thread:

Posting szabályzat
Ön nem post new threads
Ön nem post válaszok
Ön nem post Csatolmányok
Ön nem szerkeszteni az üzeneteidet

BB kód van Be
Smilies vannak Be
[IMG] kód Be
HTML kód Ki
Trackbacks vannak Be
Pingbacks vannak Be
Refbacks vannak Be




Minden idő GMT -4. Az idő most 06:32 AM.


Powered by: vBulletin, Copyright © 2000 - 2006, Jelsoft Enterprises Limited. Nyelvre lefordítva Powered by .
vBCredits v1.4 Copyright © 2007 - 2008, PixelFX Studios
A UNIX és Linux Fórum Tartalom Copyright © 1993-2009. Minden jog Reserved.Ad menedzsment RedTyger

Content Relevant URLs by vBSEO 3.2.0