Categories
Linux Mastering Development

Understanding command line arguments in custom shell and the effect of using quote

I am creating a custom shell using C language and I am successful with parsing, fork and exec, pipes, redirection etc. I noticed one particular type of command which seems to be throwing my shell off. In bash shell , the following command works. bash> echo "abc" >> tempFile bash> sed s/a/b/g tempFile bash> sed […]