grepping a linked directory

Jeffrey Gleixner glex at uh.msc.umn.edu
Sun Dec 31 03:35:19 AEST 1989


	I have a file that is soft linked to another directory and I
	want to be able to search through all of my files and the linked
	file for a certain expression.  So I use

	% grep -l whatever `find . -print`

	But find "does not follow symbolic links to other files or
	directories".

	The above use to work but I have been moved to another machine
	and the filesystems are Networked.  (i.e. I'm on "mach1> in /k2" 
	while the file I want is "mach2> /k1/bogus".) 

	Can anyone point me in the right direction?

	Thanks for your time.  (Go Vikings!!)


glex at msc.umn.edu



More information about the Comp.unix.questions mailing list