Created
December 9, 2022 07:13
-
-
Save allenluce/fa2deefe25fcb6c87261b192bc80ff88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pwd | |
/tmp/x | |
$ ls -l | |
total 24 | |
-rw-r--r-- 1 allenluce wheel 13 Dec 8 22:51 a file | |
-rw-r--r-- 1 allenluce wheel 4 Dec 8 22:47 another file | |
-rw-r--r-- 1 allenluce wheel 26 Dec 8 22:47 files | |
$ cat a\ file | |
one | |
someterm | |
$ cat another\ file | |
two | |
$ grep someterm $(cat files) | |
grep: a: No such file or directory | |
grep: file: No such file or directory | |
grep: another: No such file or directory | |
grep: file: No such file or directory | |
$ ps $$ | |
PID TT STAT TIME COMMAND | |
40433 s011 Ss 0:01.06 -zsh | |
$ zsh --version | |
zsh 5.8 (x86_64-apple-darwin21.1.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment