[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to specify pathname with special character
From: |
Andrews, Martin |
Subject: |
RE: How to specify pathname with special character |
Date: |
Wed, 22 Nov 2000 15:19:40 -0500 |
Did you try putting the filename in a control macro?
control:
actionsequence = ( files )
myfile = ( "/apps/project#1/scan this file" )
files:
$(myfile) mode=-4000 action=fixplain
> -----Original Message-----
> From: Patrick Woo [mailto:pat@dcexpert.ab.ca]
> Sent: Wednesday, November 22, 2000 1:28 PM
> To: help-cfengine@gnu.org
> Subject: How to specify pathname with special character
>
>
> I have pathname that has space & '#' in the file name and
> cfengine won't
> accept that in the files section. I have tried back slash &
> quote, no go.
> Have anyone come across this before.
>
> e.g.
> $ cat cfengine.conf
> control:
> actionsequence = ( files )
>
> files:
> /apps/project#1/scan this file mode=-4000 action=fixplain
>
> $ cfengine -p -f ./cfengine.conf
> cf:wcalh00a:./cfengine.conf:5: File attribute with no value
> cf:wcalh00a:./cfengine.conf:5: Illegal file attribute
> cf:wcalh00a:./cfengine.conf:5: Unknown attribute this
> cf:wcalh00a:./cfengine.conf:5: Unknown attribute file
>
> --
> Patrick Woo Distributed Computing
> Experts Corp.
> Bus: (403) 850-6976 E-Mail: Patrick.Woo@DCExpert.ab.ca
> Fax: (403) 278-8437 Web: http://www.dcexpert.ab.ca
> Msg: 4038506976@text.telus.com
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
>