Imam sledeco skripto:
===========================================================

#!/bin/sh

SVC="C:\Program Files (x86)\Installed
Packages\{790C06B4-844E-11D2-972B-080009EF8C2A}\ctx\data\model.mof"

echo "$SVC" | grep model

if [ $? -eq 0 ]
then
   echo "model WAS found\n"
else
   echo "model WAS NOT found but it's there!\n"
fi

echo "${SVC}"
===========================================================

A ve kateri kako resiti zgornji problem opisan v skripti? Problem
nastane,  ko hocem grep-at po zgornjem file pathu toda echo odreze vse
od "\ctx" naprej, ker ne prebavi "\c" sekvence in seveda ne najde file
name-a. Igral sem se ze z vse mogocimi narekovaji pa mi ni ratalo. Pozna
kdo kaksno alternativo?

Tnx and lp, 
Frank
_______________________________________________
lugos-list mailing list
lugos-list@lugos.si
http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list

Одговори путем е-поште