|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
[Never mind...] Out of time here; cannot seem to pipe to "locate"
[solved... for the most part. Q remains
but is irrelevant...] cat file | xargs ...locate tail -20 file | xargs ...locate for i in $( tail -20 file | awk ...) ; do .... All the pipes/oneliners which work here for binaries other than locate, seem to return no results with no 0, 1, status message, etc, OR every file in the entire filesytem. Only asking here because I found and saved multiple .htm which almost, but did not, solve the problem ... In about three hours I could probably craft a .pl that worked, but it seems it should work at the command line... /edit/ found most of the files on backup. A one liner restored them... if I figure correctly. Just in case anyone knows anything. Thanks!
__________________
FreeBSD 13-STABLE Last edited by jb_daefo; 12th November 2015 at 03:10 AM. Reason: workaround |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Difference between"arp info overwritten" and " duplicate IP address " | varag | OpenBSD Security | 1 | 6th April 2015 02:57 PM |
How to replace "ectags" with "ctags"? | fender0107401 | OpenBSD Packages and Ports | 5 | 16th April 2013 10:01 AM |
Where should I put my config? "rc.conf" or "rc.conf.local"? | fender0107401 | OpenBSD General | 2 | 2nd April 2012 02:53 AM |
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" | jb_daefo | Guides | 0 | 5th October 2009 09:31 PM |
"Thanks" and "Edit Tags". | diw | Feedback and Suggestions | 2 | 29th March 2009 12:06 AM |