Disk ARchive
2.4.11
|
a set of general command line targeted routines More...
#include "../my_config.h"
#include <string>
#include "infinint.hpp"
#include "tlv_list.hpp"
#include "integers.hpp"
Go to the source code of this file.
Functions | |
void | line_tools_slice_ownership (const std::string &cmd, std::string &slice_permission, std::string &slice_user_ownership, std::string &slice_group_ownership) |
void | line_tools_repeat_param (const std::string &cmd, infinint &repeat_count, infinint &repeat_byte) |
void | line_tools_tlv_list2argv (user_interaction &dialog, const tlv_list &list, argc_argv &arg) |
S_I | line_tools_reset_getopt () |
returns the old position of parsing (next argument to parse) | |
std::string::const_iterator | line_tools_find_first_char_out_of_parenth (const std::string &argument, unsigned char to_find) |
std::string::const_iterator | line_tools_find_last_char_out_of_parenth (const std::string &argument, unsigned char to_find) |
std::string | line_tools_expand_user_comment (const std::string &user_comment, S_I argc, char *const argv[]) |
std::vector< std::string > | line_tools_explode_PATH (const char *the_path) |
split a PATH environement variable string into its components (/usr/lib:/lib => /usr/lib /lib) | |
std::string | line_tools_get_full_path_from_PATH (const std::vector< std::string > &the_path, const char *filename) |
return the full path of the given filename (eventually unchanged of pointing to the first file of that name present in the_path directories | |
void | line_tools_split_at_first_space (const char *field, std::string &before_space, std::string &after_space) |
return split at the first space met the string given as first argument, and provide the two splitted string as second and third argument | |
void | line_tools_get_min_digits (std::string arg, infinint &num, infinint &ref_num, infinint &aux_num) |
void | line_tools_look_for (const std::vector< char > &arguments, S_I argc, char *const argv[], const char *getopt_string, std::vector< char > &presence) |
void | line_tools_look_for_jQ (S_I argc, char *const argv[], const char *getopt_string, bool &j_is_present, bool &Q_is_present) |
a set of general command line targeted routines
Definition in file line_tools.hpp.