Mail Archives: djgpp/1994/03/31/22:27:42
Hi, Folks,
Finally, I make dc, bc, diffutl, gnuplot, grep, m4, sed, f2c available.
(SOURCE CODE INCLUDED) I haven't tested dc and diffutil yet. Truly speaking,
to check/verify what I have done/modified is really a brain-damage work.
Please anonymous ftp files from "phi.sinica.edu.tw:/pub/djgpp/tools".
All the executable and changed files are put in each subdirectory 'djgpp'.
If anything wrong please let me know.
* files are compressed by 'lha.exe'
* In f2c, I removed '#define abs...'.
* In gnuplot, I only made a gnu make version of makefile.
* I made 'bc' to look at 'libmath.b' in 3 ways
1. c:/g/lib/libmath.b
2. set BC_MATH_FILE=c:/g/lib/libmath.b
3. libmath.b at current working directory
* I am still testing/modifying tar, shellutil, fileutil, and textutil.
When they are ok, I will send them to the public as well.
* 'xargs'-like is finished. It can only take one argument now.
'ls | xargs wc -l' is ok
The next step is to make xargs handle '{}'
* floppy backup/restore software status:
I haven't started to write it. The following is just a proposal.
The idea was inspired by split/merge from DJ and users' complaints.
If such kind of public domain program has been implemented already,
tell me please; thus, I don't have to write it again.
(I had planed to use 'dd' in textutil to do the work.)
A backup/restore program will do
1. split data to several chunks
2. take input from files or pipe line
3. write-error recover
4. backup any part(chunk)
4. w/o restore program, we can still use
a. copy /b
b. cat
to merge data
usage:
backup:
cat xxxx | split -fa:filename -bs1400k
backup xxxx into floppies at filesize 1400KB
tar c * | split -fa:filename -bs1400k
backup data from tar
tar c * | split -fa:filename -n4 -bs1400k
backup the 4th chunk on floppy a: w/ filename.004
restore:
copy/b xxx.001+xxx.002+.... yyy
merge -fa:filename | tar x
Tein
3/30/94
===========================================================
Tein Horng Yuan (°K¤ÑÐA)
P&DC Project
ASPAC Project
Computing Centre, Academia Sinica, Taipei, Taiwan, R.O.C.
(voice): 886-2-789-9247 (fax): 886-2-783-6444
Email: tyuan AT beta DOT wsl DOT sinica DOT edu DOT tw
www: http://ki.wsl.sinica.edu.tw
===========================================================
- Raw text -