Skip to content

Commit 21314c3

Browse files
committed
fix: Fixed broken link pointing to localhost
1 parent 8bbd7a8 commit 21314c3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

blog/2024-05-28-nushell_0_94_0.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ See a full overview of the [breaking changes](#breaking-changes)
264264

265265
To support streaming output, `parse` now operates/matches on a single line at a time **only if provided with the streaming output of an external command, file, or raw byte stream**.
266266
For example, these snippets will try to match each line separately:
267+
267268
```nushell
268269
^cat file.txt | parse -r "some regex"
269270
^cat file.txt | take 1024 | parse -r "some regex"
@@ -274,6 +275,7 @@ open --raw file.txt | skip 1024 | parse -r "some regex"
274275
```
275276

276277
The old behavior was to collect all of the output the external command or byte stream and then run the regex across the whole string. To mimic this behavior, you can use the `collect` command or store the output in a variable:
278+
277279
```nushell
278280
^cat file.txt | collect | parse -r "some regex"
279281
@@ -282,9 +284,11 @@ $text | parse -r "some regex"
282284
```
283285

284286
Note that this change does not affect normal value streams like:
287+
285288
```nushell
286289
[(open foo.txt) (open bar.txt)] | parse -r "some regex"
287290
```
291+
288292
In this case, the regex is run separately over each string value in the stream. With the proper regex flags, the regex is able to match across multiple lines within the same string value.
289293

290294
Note that `parse` may see more breaking changes in the next release to simplify these behaviors.
@@ -439,7 +443,7 @@ The `--collect-lazyrecords` flag has been removed from `describe`, since lazy re
439443

440444
#### List of environment variables support in `with-env` [[toc](#table-of-content)]
441445

442-
This release removes support for the list of environment variable form of `with-env` that was [deprecated](http://localhost:8080/blog/2024-04-30-nushell_0_93_0.html#with-env-toc) in the previous release. Going forward, only the record form is supported.
446+
This release removes support for the list of environment variable form of `with-env` that was [deprecated](https://www.nushell.sh/blog/2024-04-30-nushell_0_93_0.html#with-env-toc) in the previous release. Going forward, only the record form is supported.
443447

444448
## For plugin developers [[toc](#table-of-content)]
445449

book/pipelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ With most filters, the second version would refer to the entire `file` record (w
118118

119119
### Pipeline input in custom command definitions and scripts
120120

121-
See: [Custom Commands -> Pipeline Input](http://localhost:8080/book/custom_commands.html#pipeline-input)
121+
See: [Custom Commands -> Pipeline Input](custom_commands.html#pipeline-input)
122122

123123
### When is `$in` valid?
124124

0 commit comments

Comments
 (0)