summaryrefslogtreecommitdiffstats
path: root/src/b_sqb.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-26 16:59:10 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-26 16:59:10 +0200
commit50bcdd00048869327d576021ae85d7d10ec6f012 (patch)
tree41a6eaf4ee0212ec7475bf0c2e00bd76f169d3fb /src/b_sqb.c
parent-nt abd -ot are bav (diff)
download42-minishell-50bcdd00048869327d576021ae85d7d10ec6f012.tar.gz
42-minishell-50bcdd00048869327d576021ae85d7d10ec6f012.tar.bz2
42-minishell-50bcdd00048869327d576021ae85d7d10ec6f012.tar.xz
42-minishell-50bcdd00048869327d576021ae85d7d10ec6f012.tar.zst
42-minishell-50bcdd00048869327d576021ae85d7d10ec6f012.zip
New files
Diffstat (limited to '')
-rw-r--r--src/b_sqb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/b_sqb.c b/src/b_sqb.c
index adfad0f..8ac1f16 100644
--- a/src/b_sqb.c
+++ b/src/b_sqb.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include "b_sqb_file.h"
+#include "b_sqb_str.h"
#include "d_define.h"
#include "s_struct.h"
#include "u_utils.h"
@@ -68,6 +69,8 @@ static uint8_t
ret = b_sqb_file_tests(id, argv);
else if (id == FT_ID_SQB_NT || id == FT_ID_SQB_OT)
ret = b_sqb_double_file_tests(id, argv);
+ else if (id == FT_ID_SQB_Z || id == FT_ID_SQB_EQUA || id == FT_ID_SQB_DIFF)
+ ret = b_sqb_str(id, argv);
return (ret);
}