[OT] Program to join various files into a big file?

C

Chaos Master

Guest
I have downloaded some SPICE models from diodes.com , and each model came in a
..txt file.

Now, I need to join them in a big file (the library file to be used by the
simulator).
What program can I use to join them?
I could use "copy *.txt models.lib" at a DOS prompt, if: the models didn't use
UNIX line feeds and the "copy *.txt models.lib" command didn't reorder randomly
the models.


--
E-mail address is POTENTIAL spam bot FODDER. Please reply to the group!
 
Chaos Master <fusca1500_br_nospam@yahoo.com> wrote:

I have downloaded some SPICE models from diodes.com , and each model came in a
.txt file.

Now, I need to join them in a big file (the library file to be used by the
simulator).
What program can I use to join them?
I could use "copy *.txt models.lib" at a DOS prompt, if: the models didn't use
UNIX line feeds and the "copy *.txt models.lib" command didn't reorder randomly
the models.
I would just cut and paste each into a new text file and rename it
newmodel.lib or whatever.

--
Terry Pinnell
Hobbyist, West Sussex, UK
 
On Sun, 5 Oct 2003 02:17:33 -0300, Chaos Master
<fusca1500_br_nospam@yahoo.com> wrote:

I have downloaded some SPICE models from diodes.com , and each model came in a
.txt file.

Now, I need to join them in a big file (the library file to be used by the
simulator).
What program can I use to join them?
I could use "copy *.txt models.lib" at a DOS prompt, if: the models didn't use
UNIX line feeds and the "copy *.txt models.lib" command didn't reorder randomly
the models.
To avoid the re-order:

copy file1.txt+file2.txt+file3.txt+ ... +fileN.txt models.lib

To change UNIX line feeds...

There are various freebie executables that will convert UNIX to DOS or
vice versa:

Surf for Win2Unix2Win or UNX2DOS

OR

Treat yourself to a good programmers editor such as UltraEdit which
has *extensive* search and replace capabilities.

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
Terry Pinnell engraved with a +2 athame:
Chaos Master <fusca1500_br_nospam@yahoo.com> wrote:

I have downloaded some SPICE models from diodes.com , and each model came in a
.txt file.

Now, I need to join them in a big file (the library file to be used by the
simulator).
What program can I use to join them?
I could use "copy *.txt models.lib" at a DOS prompt, if: the models didn't use
UNIX line feeds and the "copy *.txt models.lib" command didn't reorder randomly
the models.

I would just cut and paste each into a new text file and rename it
newmodel.lib or whatever.
I don't think you'd like to do that, when you have over 120 models.
--
E-mail address is POTENTIAL spam bot FODDER. Please reply to the group!
 
Jim Thompson engraved with a +2 athame:

To avoid the re-order:

copy file1.txt+file2.txt+file3.txt+ ... +fileN.txt models.lib

To change UNIX line feeds...

There are various freebie executables that will convert UNIX to DOS or
vice versa:

Surf for Win2Unix2Win or UNX2DOS
Thanks!
--
E-mail address is POTENTIAL spam bot FODDER. Please reply to the group!
 
In article <MPG.19ea6d46102f30259896b0@news.cis.dfn.de>, fusca1500
_br_nospam@yahoo.com says...
Jim Thompson engraved with a +2 athame:

To avoid the re-order:

copy file1.txt+file2.txt+file3.txt+ ... +fileN.txt models.lib

To change UNIX line feeds...

There are various freebie executables that will convert UNIX to DOS or
vice versa:

Surf for Win2Unix2Win or UNX2DOS

Thanks!

goto www.tucows.com and look for NoteTab. it'll convert unix to dos.

brs,
mike
 

Welcome to EDABoard.com

Sponsor

Back
Top