:? :? :? :? :?
8O 8O 8O 8O 8O
what the ?????????????????
sorry, is my techno deficiency showing?ops:
ops:
ops:
Wow - thanks for that. No don't have RGREP
Will check it out.
Dave
:? :? :? :? :?
8O 8O 8O 8O 8O
what the ?????????????????
sorry, is my techno deficiency showing?ops:
ops:
ops:
with normal grep under bsd it is
grep -d recurse
or
grep -r
2007 Discovery 3 SE7 TDV6 2.7
2012 SZ Territory TX 2.7 TDCi
"Make the lie big, make it simple, keep saying it, and eventually they will believe it." -- a warning from Adolf Hitler
"If you don't have a sense of humour, you probably don't have any sense at all!" -- a wise observation by someone else
'If everyone colludes in believing that war is the norm, nobody will recognize the imperative of peace." -- Anne Deveson
“What you leave behind is not what is engraved in stone monuments, but what is woven into the lives of others.” - Pericles
"We can ignore reality, but we cannot ignore the consequences of ignoring reality.” – Ayn Rand
"The happiness of your life depends upon the quality of your thoughts." Marcus Aurelius
Yup - the -r switch is pretty useful here too. Rgrep just gives you a lot more options, that's all.Originally posted by incisor
with normal grep under bsd it is
grep -d recurse
or
grep -r
Either way![]()
Will that also interrogate compressed files ( ie *.tar.gz files) within those directories or do they have to be decompressed first :?:
Sorry Ferno, but its a already a bit of a techno thread anyway :!:
Dave
Recursive grep is one of the nice things to come out of open-source distros. As the other vendors are sticking by the standards (either POSIX or BSD) and there is no recursive grep function in those standards so they never bothered to make one....
Of course even when they do stick to the standards, it's always *their interpretation* of the standards. A good example is MAC addresses. The standard states that each node shall have a seperate MAC address. Sun interpreted a node as being a full machine, whilst everyone else in the world interpreted a node as being a port.
Originally that caused no end of problem when connecting more than 1 LAN port from a Sun server to a switched network, however these days Sun has come to the party (a bit) with a eeprom switch that allows you to set each LAN port to have it's own MAC address. However they still ship with the factory default setting of 1 MAC address for the machine, no matter how many ports :-)
For archives try zgrep with the recursive switch set.Originally posted by adm333
Will that also interrogate compressed files ( ie *.tar.gz files) within those directories or do they have to be decompressed first :?:
Sorry Ferno, but its a already a bit of a techno thread anyway :!:
Dave
Thanks Inc and Omaroo
Now I have a legit reason for logging on from work.
I can say its a Unix help forum
![]()
![]()
![]()
![]()
How much do you know about Oracle :wink:
Dave
Oracle? Eek!
I'm a mySQL boy these days, but I was bought up on the PICK database OS.
:? this is sounding more and more like it should be in the tech section,
or maybe we should look at creating a new "geek" section for all the 'puta literate people in here![]()
![]()
![]()
| Search AULRO.com ONLY! |
Search All the Web! |
|---|
|
|
|
Bookmarks