Search found 4 matches

by fps079
2020/12/12 18:38:08
Forum: User Comments
Topic: cd with wild card causes error too many arguments
Replies: 6
Views: 11411

Re: cd with wild card causes error too many arguments

It's not a bug, it's a user error. You have multiple things that match the pattern you gave to cd and cd expects one and only one argument. So try Oracle Linux since CentOS is now a memory...where this command works, and you can write me about what a bug the command is and I can write you about my ...
by fps079
2020/12/12 18:36:09
Forum: User Comments
Topic: cd with wild card causes error too many arguments
Replies: 6
Views: 11411

Re: cd with wild card causes error too many arguments

Well, now I don't have to worry about it.

Moving on to Oracle Linux, where that command works.....
by fps079
2020/12/06 13:55:18
Forum: User Comments
Topic: cd with wild card causes error too many arguments
Replies: 6
Views: 11411

Re: cd with wild card causes error too many arguments

Ummm...no, it is a bug, or at least unexpected behavior based on a few years of experience with UNIX shells. I have one directory in my current directory, using a wild card as I am should return an unambiguous path for cd command. I have been using cd like this for years, still am on other versions ...
by fps079
2020/12/05 22:08:22
Forum: User Comments
Topic: cd with wild card causes error too many arguments
Replies: 6
Views: 11411

cd with wild card causes error too many arguments

using cd to directory ApacheDirectoryStudio like so:

#cd Apache*

causes an error:

bash: cd: too many arguments

Someone please tell me this is a bug and being fixed in the next issue of bash. Doesn't anyone use regular expressions any longer?