blob: 93e64ab336802e119ddd47b1df5336dbe1cfaeb7 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh -e
bits="$1"
dfmt="$2"
ofmt="$3"
xfmt="$4"
bfmt="$5"
exec sed -e "s/@BITS@/$bits/g; s/@DFMT@/$dfmt/g; s/@OFMT@/$ofmt/g; s/@XFMT@/$xfmt/g; s/@BFMT@/$bfmt/g;" < src/headers/bits-template
|