[rhn-users] unary operator expected ??

NORMAND Rémy r.normand at le-moteur-moderne.fr
Tue Apr 19 13:41:29 UTC 2005


Try with a quote ' , and not with the `


-----Message d'origine-----
De : rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com] De la part de FM
Envoyé : mardi 19 avril 2005 15:30
À : Mailing List Redhat Network
Objet : [rhn-users] unary operator expected ??

Hello my crontab is :

if [ `ls /home/bc_bigfiles/pub` ]; then echo "Files found in server `hostname`"; fi ;

in the folder pub :
NBCA_20050418_1.zip  NBQB_20050418_2.zip

Now I received ths error :
NBCA_20050418_1.zip: unary operator expected

What does iy mean ? On the web I found some pages talking about unset variable, which it is not my case, I have none :-)

Thanks !

_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users





More information about the rhn-users mailing list