Skip to content

Commit b173185

Browse files
committed
simplify example of piping within singularity exec
1 parent d222c54 commit b173185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,10 @@ Both Docker Hub and Singularity Hub link to your GitHub account. New container b
801801

802802
### pipes and redirection
803803

804-
As we demonstrated earlier, pipes and redirects work as expected between a container and host system. If you need to pipe the output of one command in your container to another command in your container things may be more complicated.
804+
As we demonstrated earlier, pipes and redirects work as expected between a container and host system. If you need to pipe the output of one command in your container to another command in your container things are slightly more complicated.
805805

806806
```
807-
$ singularity exec lolcow.img fortune | singularity exec lolcow.img cowsay
807+
$ singularity exec lolcow.img sh -c "fortune | cowsay | lolcat"
808808
```
809809

810810
### X11 and OpenGL

0 commit comments

Comments
 (0)