feat: implemented pipes and redirects + background operator

This commit is contained in:
djaidjai committed 2024-03-16 23:07:19 +01:00
1 parent 6b9bedac3c
commit 7e6c1147db
10 files changed
+246 -74

No files matched your search

+4 -3
View File
@@ -123,6 +123,9 @@ bool _parsePipeline(List *lp) {
* @return a bool denoting whether the filename was parsed successfully.
*/
bool _parseFilename(List *lp) {
if (*lp == NULL) return false;
//we run a POSIX compliant system, meaning all characters save '/' and NULL are allowed in filenames.
//NULL is already taken care of by the List library, and / just means the file is located in a directory.
//as a result the only limit we place on filenames are the reserved (operator) characters.
@@ -178,11 +181,9 @@ bool _parseBuiltIn(List *lp) {
char *builtIns[] = {
"exit",
"status",
"true",
"false",
"cd",
#if EXT_PROMPT
"debug",
"cd",
#endif
NULL
};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.