jdagz28 / Minishell

0 stars 0 forks source link

pipe input to minishell; expansion of local and exported variables; debugged echo option #44

Closed jdagz28 closed 11 months ago

jdagz28 commented 11 months ago

output is the same as intended. (from bash)

jdagoy@GS63VR-7RF:~/Documents/19/Minishell$ echo "echo hello world" | bash
hello world
jdagoy@GS63VR-7RF:~/Documents/19/Minishell$ 

and from minishell passing to higher minishell shell level

jdagoy@GS63VR-7RF:~/Documents/19/Minishell$ echo "echo hello world" | ./minishell 
hello world
jdagoy@GS63VR-7RF:~/Documents/19/Minishell$ 

Screenshot from 2023-11-25 16-05-17

Limiting edits to affected files to minimize conflicts during the merge. However, restructuring the flow is necessary for coherence and improved understandability.

what change: in main

in shell_init

in shell_prompt

jdagz28 commented 11 months ago

debugged expansion of local and exported variables

jdagz28 commented 11 months ago

debugged echo. handles multiple valid option -n. executes normally with option --- disregards the succeeding valid options in the argument