Timeline for how to pipe find's output into another find
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 21, 2015 at 17:30 | comment | added | Gilles 'SO- stop being evil' | @StéphaneChazelas My bad, applying almost any glob qualifier seems to simply sort in reverse, probably a side effect of how sorting is implemented. But oe does sort on the output of e, at least as of zsh 5.0.5. Annoying but doable. | |
| Oct 21, 2015 at 17:29 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 | replaced non-working glob qualifier trickery by working glob qualifier trickery (even across directories) |
| Oct 21, 2015 at 15:42 | comment | added | Stéphane Chazelas | Could have been a nice trick, but .(e\''reply=($files)'\'om) doesn't work for me. I can't think of a straightforward way to do it. | |
| Oct 21, 2015 at 12:34 | comment | added | Gilles 'SO- stop being evil' | @StéphaneChazelas Good point. Is there anything simpler than .(e\''reply=($files)'\'om) to sort an arbitrary array of files via a glob qualifier? | |
| Oct 21, 2015 at 8:52 | comment | added | Stéphane Chazelas | Your showLatest script won't work unless all the files are in the current directory. ((foo|bar)(om[1,1]) is a valid glob, (/etc/passwd|/bin/ls)(om[1,1]) or even (./foo|./bar)(om[1,1]) are not. | |
| Oct 21, 2015 at 8:49 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 | added 98 characters in body |
| Nov 21, 2013 at 0:11 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |