mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
This is a series of updates to make building magic far less of a headache: * Drop `csh`/`tcsh` dependency and detection from `./configure`. * Rewrite makedbh in Python. * Rewrite printmans in POSIX sh. * Stop deleting Depend before every compile (which causes some files to recompile and thus increases recompile times significantly) * Add Depend to CLEANS in scripts/defs.mak.in * Turn POSIX suffix rule in magic/rules.mak to a pattern rule with proper prerequisites
8 lines
89 B
Bash
Executable File
8 lines
89 B
Bash
Executable File
#!/bin/sh
|
|
cmd=$1
|
|
shift
|
|
|
|
for i in "$@"; do
|
|
echo "cat $i | $cmd"
|
|
cat $i | $cmd
|
|
done |