Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
shlex.hh File Reference
#include <regex>
#include <string>
#include <vector>
#include "lix/libutil/error.hh"

Go to the source code of this file.

Classes

class  nix::ShlexError

Functions

std::vector< std::string > nix::shell_split (const std::string &input)

Function Documentation

◆ shell_split()

std::vector< std::string > nix::shell_split ( const std::string & input)

Parse a string into shell arguments.

Takes care of whitespace, quotes, and backslashes (at least a bit).