while not addressing any real difficulties.
The command-line arguments \myprog{} currently supports are
-described in table \ref{if_tbl_arguments_desc};
-their default values are listed in table \ref{if_tbl_arguments_def}.
+described in Table~\ref{if_tbl_arguments_desc};
+their default values are listed in Table~\ref{if_tbl_arguments_def}.
There is currently no switch to set the output format, since the only supported
output format, besides \osl{}, is a low-level output format for debugging purposes.
Because of this and since the change that has to be made in the source code to enable it
\codepar{db2osl -d mydb myserver.org | sha256sum >oldsum\\
cp oldsum newsum\\
while diff oldsum newsum; do\ \ \# while checksums are the same\\
- \ind sleep 3600\ \ \# wait 1 hour\\
- \ind db2osl -d mydb myserver.org | sha256sum >newsum\\
+ \ind{} sleep 3600\ \ \# wait 1 hour\\
+ \ind{} db2osl -d mydb myserver.org | sha256sum >newsum\\
done\\
rm oldsum newsum\\
\# notify web admin via e-mail:\\
that bootstraps all databases on a server:
\codepar{regex=\textquotesingle(?!\$).*\textquotesingle\ \ \# accept all nonempty database names first\\
while db2osl -d "\$regex" -o spec myserver.org; do\\
- \ind dbname="\`{} sed -ne \textquotesingle/xmlns:ont/ \{ s|.*/||; s|\#"||p \}\textquotesingle\ spec \`{}"\\
- \ind mv spec "\$dbname".osl\\
- \ind \# don't use this database a second time:\\
- \ind regex="\`{} printf \%s "\$regex" | sed -e "s,\textbackslash\textbackslash\textbackslash\textbackslash\$,\$|\$dbname\$," \`{}"\\
+ \ind{} dbname="\`{} sed -ne \textquotesingle/xmlns:ont/ \{ s|.*/||; s|\#"||p \}\textquotesingle\ spec \`{}"\\
+ \ind{} mv spec "\$dbname".osl\\
+ \ind{} \# don't use this database a second time:\\
+ \ind{} regex="\`{} printf \%s "\$regex" | sed -e "s,\textbackslash\textbackslash\textbackslash\textbackslash\$,\$|\$dbname\$," \`{}"\\
done}
Since the programming language used to implement \myprog{} is \name{Java},