mahahahad / Minishell

1 stars 1 forks source link

feat: added the dollar expansion in tokens #22

Closed Ali-Danish-72 closed 2 months ago

Ali-Danish-72 commented 2 months ago

feat: added the dollar expansion in tokens

When a token is determined to be of type [ WORD ], it sends the token to the dollar_expansion() function. There it searches for the [ $ ] and expands it as necessary.

I handle invalid names, empty keys, [ $? ] and multiple [ $ ] within the same token.