[colug-432] less

michael at yanovich.net michael at yanovich.net
Tue Nov 25 13:59:27 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 11/25/2014 01:35 PM, tom wrote:
> http://www.pcworld.com/article/2851692/less-means-more-to-malware-authors-targeting-linux-users.html

alias less='more'


In more seriousness-ness, I never did like using 'less', probably because I
never took the time to actually learn how to use it efficiently without raging
at my confusion.

For the past few years or so, I've been using a one-liner I have received from
somebody in the Open Source Club that basically replaced the need for me to use
'less'. Maybe somebody on here might find it useful too:

> export EDITOR="vim"
> export PAGER="sh -c \"col -b | vim -M -c 'set nonu ft=man nomod nolist titlestring=MANPAGE' -\""

I'm sure you change the 'vim' part and the appropriate arguments for vim to your
preferred text editor, if you so desire.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJUdNGJAAoJEKBpQL3CDq4dnhoP+wcn51HH5sJqUDDWm/hk6VNi
+GBNjlYfcWlaUkwLvcSeAHZcjrU/YbPdtXywhOJUiHOLOUAK07+y2UfjFALjNq1S
uWLDVHVyZvmanpvvt4FcPBEp0Q8BeqoHogMjLRaj5qNwMTXES3TvZ3jS1uoHxwke
hfUgdbnS0i98iOeqh9AKEETz3bQyGqmxJbN3gx0RqNnXy0QvNkCylP7Nk4DVC+jb
oj3c2XSvmkLE9SIsaPTwuzlp/QBUOgIsEKuXNip7142i8sjhkR0GtGr/1PNE0n9s
ro1FEkSbZXWQ0ICflQT+71HgnVXFFgdXX+u60j4/iPw7A8up07VADl/2aIoZ7vZd
U+gOnkyVePP5C9i/oG7MwISITfX/PV6z0YcWtT6Ac3Ofiyj2BD4sg6cLOsSutCI+
rF9Pve4kuTP2GHFRRBIQEqfbWs/EzckezmLnjRoLI8CAIQoN2uhFlCg0r1tOCJ+2
k1G+0YwSJaTLxuktG3g8CZIsMaZ6wwDNU2IxWPEXnRRgqhz2XdoPCfw8XzqbK7YV
PuC/5MEPUyoTqymfeuAH0qhrd96cyYI2UCEg5pWy8LxlbkJ+fIN2uzpvuDFBIZe5
xJvcflyRJrEl8avt5M5zN6Mve6pajneYIaL+UAlnptSMWgWr1JuABb0Fh0UJmFoq
PD/ObuLTPlUkwUN3MPYh
=ywEP
-----END PGP SIGNATURE-----


More information about the colug-432 mailing list