I need to run this file in the terminal (linux).
http://manpages.ubuntu.com/manpages/trusty/man1/ncbi-seg.1.html
It comes as a ".1" file. Any ideas?
Something like this (it is, after all, a man-page):
nroff -man ncbi-seg.1 |less
Better, if the program is installed (not just a ".1" file):
man ncbi-seg
(section "1" is the default).
A comment notes that (at least on Linux), the man
program accepts an actual pathname, eg,
man ./ncbi-seg.1
and referring to my followup, I made this script, qm
in June 1995:
#!/bin/sh
tbl $* | nroff -man |less
Since then, most (not all) versions of man
have incorporated the fix to automatically run tbl
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.