-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2118
Vidar Holen edited this page Nov 3, 2022
·
1 revision
#!/usr/bin/ksh
make |& tee ~/log
#!/usr/bin/ksh
make 2>&1 | tee ~/log
You are using the Bash specific shorthand |&
, but your script is running with Ksh. Rewrite it to its full, POSIX-compatible form as shown in the example.
None
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!