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
@@ -317,6 +317,7 @@ Filters are methods on an existing pipe that also return a pipe, allowing you to
317
317
|[`First`](https://pkg.go.dev/github.com/bitfield/script#Pipe.First)| first N lines of input |
318
318
|[`Freq`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Freq)| frequency count of unique input lines, most frequent first |
319
319
|[`Get`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Get)| response to HTTP GET on supplied URL |
320
+
|[`HashSums`](https://pkg.go.dev/github.com/bitfield/script#Pipe.HashSums)| hashes of each listed file |
320
321
|[`Join`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Join)| replace all newlines with spaces |
321
322
|[`JQ`](https://pkg.go.dev/github.com/bitfield/script#Pipe.JQ)| result of `jq` query |
322
323
|[`Last`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Last)| last N lines of input|
@@ -327,7 +328,6 @@ Filters are methods on an existing pipe that also return a pipe, allowing you to
327
328
|[`RejectRegexp`](https://pkg.go.dev/github.com/bitfield/script#Pipe.RejectRegexp)| lines not matching given regexp |
328
329
|[`Replace`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Replace)| matching text replaced with given string |
329
330
|[`ReplaceRegexp`](https://pkg.go.dev/github.com/bitfield/script#Pipe.ReplaceRegexp)| matching text replaced with given string |
330
-
|[`SHA256Sums`](https://pkg.go.dev/github.com/bitfield/script#Pipe.SHA256Sums)| SHA-256 hashes of each listed file |
331
331
|[`Tee`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Tee)| input copied to supplied writers |
332
332
333
333
Note that filters run concurrently, rather than producing nothing until each stage has fully read its input. This is convenient for executing long-running commands, for example. If you do need to wait for the pipeline to complete, call [`Wait`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Wait).
@@ -340,9 +340,9 @@ Sinks are methods that return some data from a pipe, ending the pipeline and ext
340
340
| ---- | ----------- | ------- |
341
341
|[`AppendFile`](https://pkg.go.dev/github.com/bitfield/script#Pipe.AppendFile)| appended to file, creating if it doesn't exist | bytes written, error |
342
342
| [`Bytes`](https://pkg.go.dev/github.com/bitfield/script#Pipe.Bytes) | | data as `[]byte`, error
0 commit comments