We're ready to tackle the new design on the index, so we're going live with the current changes so that we can use it every day and spot any mishaps we might find (while we write the new index subsystem).
15 lines
145 B
Bash
Executable file
15 lines
145 B
Bash
Executable file
#!/bin/sh
|
|
usage()
|
|
{
|
|
printf 'usage: %s tag file\n' $0
|
|
exit 1
|
|
}
|
|
|
|
test $# -lt 2 && usage
|
|
|
|
tag="$1"; shift
|
|
sed "/0.0.1=/ {
|
|
n;
|
|
c\\
|
|
$tag
|
|
}" "$@"
|