Sign in
rust
/
rust-lang
/
rust-by-example
/
refs/heads/macros
/
.
/
fix-edit-button.sh
blob: 06c292071ed244eb14c72a14b2ae3defe1f277cb [
file
] [
log
] [
blame
]
#!/bin/bash
for
example
in
$
(
find examples
-
type d
-
name
"*"
);
do
html
=
stage
/
_book
/
$
{
example
#examples/}.html
if
[[
-
f $
{
html
}
]];
then
echo $
{
html
}
sed
-
i s
:
$
{
example
#examples/}.md:${example}/input.md: ${html}
fi
done