Skip to content

Commit

Permalink
remove extra tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
zakissimo committed Jan 12, 2023
1 parent 6104c05 commit a9c6743
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions dollar.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
/* By: zhabri <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/06 13:06:15 by zhabri #+# #+# */
/* Updated: 2023/01/09 11:25:54 by zhabri ### ########.fr */
/* Updated: 2023/01/12 11:12:07 by zhabri ### ########.fr */
/* */
/* ************************************************************************** */

#include "minishell.h"

static void infile_exception(t_token *var)
{
int i;
char *second_part;
char *tmp;
char **arg_split;
int i;
char *second_part;
char *tmp;
char **arg_split;

arg_split = ft_split_quotes_keep_sep(var->arg, "<>|");
second_part = ft_calloc(1, sizeof(char));
Expand Down Expand Up @@ -84,8 +84,8 @@ void expand(t_token *var)

static bool str_is_op(char *needle)
{
int i;
static const char *op_tab[13] = {"<<", ">>", "|", \
int i;
static const char *op_tab[13] = {"<<", ">>", "|", \
">", "<", " ", "$", "\"", "'", "/", "\t", NULL};

i = 0;
Expand All @@ -100,8 +100,8 @@ static bool str_is_op(char *needle)

void find_var(t_token *token, char *input)
{
int i;
size_t len;
int i;
size_t len;

len = 0;
if (token)
Expand Down

0 comments on commit a9c6743

Please sign in to comment.