Skip to content

Wildcard Expansion for 2+ Args #28

Description

@Retera

I was testing yash vs ./shell from a restored version of my CS account, and this is what I got:

(begins with running yash)

eric@omnix ~/programs/homedir/etheller/cs252/lab3/lab3-src
$ grep "wildcard" *.cc
grep: *.cc: No such file or directory
eric@omnix ~/programs/homedir/etheller/cs252/lab3/lab3-src
$ ./shell

# eric at omnix in /home/eric/programs/homedir/etheller/cs252/lab3/lab3-src
$ grep "wildcard" *.cc
command.cc: * Takes a pointer to a directory, and a wildcard-containing
command.cc:			//printf("\"%s\" has a wildcard!\n", arg)

As we see above, YaSh failed to do wildcard expansion where ./shell succeeded. However, the expansion appeared to work for the 1st argument in other tests.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions