File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,10 @@ prior value.
71
71
## Piping commands
72
72
73
73
When shell scripting, it is common to pipe commands. What we mean by piping commands is
74
- running a command and piping its output as the input to another command, and so on.
75
- Let's take a quick example in Fish where we print the URL to this blog post and pipe
76
- that to ` string match ` to pull out the slug name:
74
+ running a command and sending its output as the input to another command, and so on.
75
+ This is done with the pipe ` | ` character, hence the term. Let's take a quick example in
76
+ Fish where we print the URL to this blog post and pipe that to ` string match ` to pull
77
+ out the slug name:
77
78
78
79
``` fish
79
80
> echo "https://mattmc3.github.io/posts/2024/07/fish-and-pipestatus/" |
You can’t perform that action at this time.
0 commit comments