This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

less '+&pattern'


Hi,

I am trying to use less with an initial command of &pattern:

printf 'A\nB\n' | less '+&B'

Give me the text "&/B" at the topleft of my screen, and I have to press
ENTER to do the actual filtering.

Is this as it should be?

(
printf 'A\nB\n' | less '+/B'
Here line B is at top of screen, without the need for pressing ENTER
)


/Morten

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]