bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk - 'inplace' feature ignores file's access flags (rea


From: Johannes Meixner
Subject: Re: [bug-gawk] gawk - 'inplace' feature ignores file's access flags (read-only)
Date: Wed, 17 Jun 2015 14:34:14 +0200 (CEST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)


Hello,

On Jun 17 12:55 Johannes Meixner wrote (excerpt):
Curently I don't know a command that creates a file anew
with '--preserve=all' from another (template) file but
without copying the content of the other file.

How embarassing:

I had tried only plain "cp --attributes-only old new"
which does of course not preserve the old attributes.

But

  cp --attributes-only --preserve=all old new

just works as expected.


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]