18 #include "eckit/eckit.h"
22 namespace eckit {
class PathName;
class CodeLocation; }
32 static std::string
readFile(
const eckit::PathName fileName,
bool logging =
false);
33 static std::vector<std::string>
readLines(
const eckit::PathName fileName,
bool logging =
false);
37 static bool match(
const std::string& regex,
const std::string&);
38 static bool matchAny(
const std::vector<std::string>& regs,
const std::string&);
42 static std::string
unQuote(
const std::string &);
50 static int shell(std::string cmd,
const eckit::CodeLocation &where,
bool assertSuccess =
true);
52 static double translate(
const std::string& v);
62 std::ostream&
operator<<(std::ostream&,
const std::vector<std::string>&);
ostream & operator<<(ostream &o, const Block &b)