[Linux-disciples] A command-line equivalent to less(1)'s "@"/^F option
Adam Rosi-Kessel
adam at rosi-kessel.org
Fri Feb 15 12:49:03 EST 2013
Try most?
Sent from mobile
On Feb 15, 2013, at 9:07 AM, Steve Laniel <steve at stevereads.com> wrote:
> 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/
>
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20130215/1be0b7c0/attachment.html>
More information about the Linux-disciples
mailing list