| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Sun, 20 Apr 2003 16:28:23 +0300 |
| Message-Id: | <200304201328.h3KDSNQP020459@beta.mvs.co.il> |
| From: | "Ehud Karni" <ehud AT unix DOT mvs DOT co DOT il> |
| To: | cygwin AT cygwin DOT com |
| Cc: | lucianoav AT gmx DOT net |
| Subject: | Re: [ANNOUNCEMENT] Updated: cron-3.0.1-9 |
| In-reply-to: | <Pine.GSO.4.44.0304162128240.15874-100000@slinky.cs.nyu.edu> |
| (message from Igor Pechtchanski on Wed, 16 Apr 2003 21:37:28 -0400 | |
| (EDT)) | |
| Organization: | Mivtach-Simon Insurance agencies |
| Reply-to: | ehud AT unix DOT mvs DOT co DOT il |
| References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0304162128240 DOT 15874-100000 AT slinky DOT cs DOT nyu DOT edu> |
| MIME-Version: | 1.0 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 16 Apr 2003 21:37:28 -0400 (EDT), Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote: > > Yes, you can do that. That way programs like crontab will invoke your > editor when they need to edit a file. However, be aware that such > programs often expect certain behavior, for example, that the inode of the > file doesn't change when it's edited (i.e., the file is written in place). This can be easily done with a script (use its name for $EDITOR): #!/bin/sh cp $1 /temp/crontab/name # copy to a temp file <YOUR_EDITOR> /temp/crontab/name # edit it (e.g. with emacs) cat /temp/crontab/name > $1 # save as original file (and inode) Ehud. - -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud AT unix DOT mvs DOT co DOT il Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQE+oqB2LFvTvpjqOY0RAtTiAJwIwShkGciwC0Zp267kiKQJq5GKVgCeM35M Vo4xf5kI2XEg3rkL80K9QiI= =p65s -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |