On 08/25/2017 10:14 AM, 宋增强 wrote:
> I did what the document says and I found the directive "define" didn't work
> for me.
>
> You see.The doc says I should use doc like " define('twoline','12')No, the documentation states you should use: define(`twoline', `12') (note that the use of `' quoting is very important; using '' is not properly quoting things) > ".However,I found I need to use it like " define(twoline,12) " That "works" for one use only, but fails if you do it two times in a row. The first argument of define MUST be quoted, to prevent a second definition from failing because it is now defining what the macro name expanded to, rather than re-defining the desired macro. That point is also covered in the manual. > > I am not really good at english and unix things.So if anything is > wrong,please forgive me.^-^! At this point, I don't see any documentation bug, but rather just a confusion on your part about what the proper default quoting characters are. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
