#lazyweb In my shell (bash) with this pipeline/command group (terminology?): ```...

@cr1901@mastodon.social

#lazyweb In my shell (bash) with this pipeline/command group (terminology?):

```
cat file.txt | { cd working_dir; cmd1; }
```

cmd1 gets all the input. Does this only work because cd is a builtin? Is this behavior mandated by POSIX?