| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f |
| Date: | Wed, 6 Jun 2001 10:46:19 -0500 |
| From: | JT Williams <jeffw AT darwin DOT sfbr DOT org> |
| To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| Cc: | djgpp AT delorie DOT com |
| Subject: | Re: portable equivalent to djgpp `update' |
| Message-ID: | <20010606104619.B18924@kendall.sfbr.org> |
| Mail-Followup-To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp AT delorie DOT com |
| References: | <20010606084202 DOT A18502 AT kendall DOT sfbr DOT org> <Pine DOT SUN DOT 3 DOT 91 DOT 1010606165108 DOT 17658D AT is> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <Pine.SUN.3.91.1010606165108.17658D@is>; from eliz@is.elta.co.il on Wed, Jun 06, 2001 at 04:53:17PM +0300 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
-: > What is a portable (if inefficient or inelegant) replacement for `update'?
-:
-: `update' was born to replace the GNU-standard move-if-change shell
-: script
I didn't know about move-if-change, thanks!
But, it seems that `update' and `move-if-change' are different
enough to be dangerous:
update: copy src -> dest
move-if-change: _move_ src -> dest
_remove_ src if src==dest (ouch!)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |