[net.sources.d] ARC for UN*X; ARC for DOS

rwh@aesat.UUCP (Russ Herman) (10/14/86)

Warning - just because you've ARC'ed a file under UN*X or DOS, don't assume
you can extract it under the other OS. The LF vs CRLF line terminators are
a gotcha. It would be nice to have a toggle for stripping/adding CRs under
UN*X.
-- 
  ______			Russ Herman
 /      \			{allegra,ihnp4,pyramid,decvax}!utzoo!aesat!rwh
@( ?  ? )@			
 (  ||  )			The opinions above are strictly personal, and 
 ( \__/ )			do not reflect those of my employer (or even
  \____/			possibly myself an hour from now.)

gt6294b@gitpyr.gatech.EDU (SCHEUTZOW,MICHAEL J) (10/17/86)

>It would be nice to have a toggle for stripping/adding CRs under
>UN*X.

Have you ever heard of SED?  The Stream EDitor will do this effortlessly,
as would a simple C-program.

zeta@runx.OZ (Nick Andrew) (10/20/86)

>   Warning - just because you've ARC'ed a file under UN*X or DOS, don't assume
>   you can extract it under the other OS. The LF vs CRLF line terminators are
>   a gotcha. It would be nice to have a toggle for stripping/adding CRs under
>   UN*X.

    Well, the purpose of a file archiving program is to archive files. Simply
ensure the Unix version does ----NO---- translations of any sort on the data
[apart from packing/squeezing/crunching of course] and you have a perfectly
compatible program with no gotchas.

    When moving ARC'ed stuff from one OS to the other, if there are any
text files which need CRLF->LF translation or vice versa simply run a filter
on the text. A filter takes about 2 seconds to write for either machine. Once
you have some general purpose filters for file translation all your worries
are over for good.