You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran the command "find . -name *.txt" in the shell-lesson-data/exercise-data folder, I got the following on-screen message:
find: paths must precede expression: 'numbers.txt'
find: possible unquoted pattern after predicate '-name'?
It is different from the episode's output: "./numbers.txt". It looks to me that the on-screen message is trying to correct the same mistake that the episode is trying to elucidate.
I am using Git Bash on a Windows laptop.
Thanks for contributing! If this contribution is for instructor training, please send an email to checkout@carpentries.org with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.
If this issue is about a specific episode within a lesson, please provide its link or filename.
Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at team@carpentries.org.
The text was updated successfully, but these errors were encountered:
Hello,
I followed along with the "Finding things" lesson and set up my working environment to use Git Bash.
When I run the command: find . -name *.txt
I get the output of "./numbers.txt" listed in the lesson page.
When I run the command: find . -name "*.txt"
I get the output of:
./writing/LittleWomen.txt
./writing/haiku.txt
./numbers.txt
I think from your error messages you provided that perhaps one of your quotation marks in the command you entered may have been misplaced, and that that might be the issue
@steve930 Thanks. @phwtsang Thanks for your feedback. Are you still getting an error? If so, what is your environment, in particular versions of Windows and GitBash?
When I ran the command "find . -name *.txt" in the shell-lesson-data/exercise-data folder, I got the following on-screen message:
find: paths must precede expression: 'numbers.txt'
find: possible unquoted pattern after predicate '-name'?
It is different from the episode's output: "./numbers.txt". It looks to me that the on-screen message is trying to correct the same mistake that the episode is trying to elucidate.
I am using Git Bash on a Windows laptop.
Thanks for contributing! If this contribution is for instructor training, please send an email to checkout@carpentries.org with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.
If this issue is about a specific episode within a lesson, please provide its link or filename.
Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at team@carpentries.org.
The text was updated successfully, but these errors were encountered: