home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1996 September
/
Simtel-MSDOS-Sep1996-CD2.iso
/
disc2
/
c
/
shar.doc
< prev
next >
Wrap
Internet Message Format
|
1985-07-06
|
1KB
Return-Path: <mmdf@BRL.ARPA>
Received: FROM BRL-TGR.ARPA BY USC-ISIB.ARPA WITH TCP ; 20 Jun 85 15:17:35 PDT
Received: from usenet by TGR.BRL.ARPA id a002873; 20 Jun 85 14:12 EDT
From: John White <jnw@mcnc.uucp>
Newsgroups: net.micro.pc
Subject: Re: PC-DOS version of shar
Message-ID: <590@mcnc.mcnc.UUCP>
Date: 19 Jun 85 02:33:13 GMT
To: info-ibmpc@usc-isib.ARPA
> The "shar" command is a good way of sending multiple files
> in a single mailing from one UNIX to another.
> I'm wondering if anyone has developed companion shar commands,
> one UNIX-based and the other PC-DOS based, that can be used
> to create a shar file on unix, download it to the pc,
> then extract files onto the pc.
> A converse use would be to create a shar archive on the PC,
> upload to UNIX, then extract on unix.
>
Here is a quick and dirty shar archiver that I use on an MS-DOS
machine to package several C source files for porting to a UNIX
system. The compiler I use (DeSmet) converts "\n" to "\r\n" so
I run the resulting file through a '\r' remover (such as tr -d '\015').
The archive uses the "cat" format and goes to file "shar.out".