[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to specify pathname with special character
From: |
Mark . Burgess |
Subject: |
Re: How to specify pathname with special character |
Date: |
Wed, 22 Nov 2000 21:24:14 +0100 (MET) |
No need for this - just quote the file name in situ
M
On 22 Nov, Andrews, Martin wrote:
> 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
>>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~