Skip to content

Commit 61b8dc1

Browse files
author
Rayan Amal
authored
fix typo (#1358)
1 parent ce8dcf4 commit 61b8dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/moving_around.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ In other shells (like bash), glob expansion happens in the shell and the invoked
2929
Globbing syntax in these commands not only supports `*`, but also matching [single characters with `?` and character groups with `[...]`](https://docs.rs/nu-glob/latest/nu_glob/struct.Pattern.html). Note that this is a more limited syntax than what the dedicated [`glob` Nushell command](https://www.nushell.sh/commands/docs/glob.html) supports.
3030

3131
Escaping `*`, `?`, `[]` works by quoting them with single quotes or double quotes. To show the contents of a directory named `[slug]`, use `ls "[slug]"` or `ls '[slug]'`.
32-
Note that backtick quote doesn't escape glob, for example: <code>cp \`test dir/*\`</code> will copy all files inside `test dir` to current direcroty.
32+
Note that backtick quote doesn't escape glob, for example: <code>cp \`test dir/*\`</code> will copy all files inside `test dir` to current directory.
3333

3434
If you pass a variable to a command that support globbing like this: `let f = "a[bc]d.txt"; rm $f`. It won't expand the glob pattern, only a file named `a[bc]d.txt` will be removed. Normally it's what you want, but if you want to expand the glob pattern, there are 3 ways to achieve it:
3535

0 commit comments

Comments
 (0)