[Linux-disciples] A command-line equivalent to less(1)'s "@"/^F option

Steve Laniel steve at stevereads.com
Fri Feb 15 12:07:10 EST 2013


I think this list needs to be dusted off and taken out for a drive once per year.

Whenever I do a search ("/") in less(1), I always want the search to wrap around if it doesn't find the text between the current line and EOF. I can force this behavior with "/@pattern" rather than just "/pattern", but I'd prefer that it always be there by default -- so that my typing "/pattern" gets me the "/@pattern" behavior automatically. I didn't find any way to do this in the man page, and Google didn't turn up anything. Am I SOL? Effectively I'm just looking for the same behavior from less(1) that I get in vim(1). There are lots of command-line options that you can set in $LESS -- I use "-iR" -- but the "@" behavior doesn't seem to be one of them.

-- 
Stephen R. Laniel
steve at stevereads.com
Cell: +1 617 308 5571
http://stevereads.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20130215/ce58da75/attachment.html>


More information about the Linux-disciples mailing list