Unless stated otherwise, Linux executables are for Intel PCs running under ELF.
expandec
expandec
expands inline files and removes comments.
It operates on the standard input stream, discarding lines or the ends
of lines containing the comment character #
,
and expanding inline files, denoted by ++
at the start of a line
followed by the path reference of the file to be inlined.
The program is recursive: inlined files may contain other file names to be
expanded, and comments in inlined files are also removed.
Example of use (command line, e.g. DOS or Unix)
expandec < master_input_file > temporary_complete_input_fileor
expandec < master_input_file | program_using_input_file > output_fileOn operating systems without a command-line interface (Mac), running the program should pop up a dialogue box allowing the file names to be specified or chosen.
Example of input data:
# a comment data more_data yet_more_data # an end-of-line comment # a file to be inlined, name below: ++file_to_insert ++another_file_to_insert even_more_data
Program | source code | DOS/Windows | Linux | Power Mac |
---|---|---|---|---|
expandec
| expandec.c
| expandec.exe
| expandec.x
| expandec
|
a2b < a_file > b_fileOn operating systems without a command-line interface (Mac), running the program should pop up a dialogue box allowing the file names to be specified or chosen.
From | To | source code | DOS/Windows | Linux | Power Mac |
---|---|---|---|---|---|
DOS | Unix | dos2unix.c
| dos2unix.exe
| dos2unix.x
| dos2unix
|
Unix | DOS | unix2dos.c
| unix2dos.exe
| unix2dos.x
| unix2dos
|
MS-Windows | Unix | win2unix.c
| win2unix.exe
| win2unix.x
| win2unix
|
Mac | Unix | mac2unix.c
| mac2unix.exe
| mac2unix.x
| mac2unix
|
Unix | Mac | unix2mac.c
| unix2mac.exe
| unix2mac.x
| unix2mac
|