cat -n to get a line listing of the content in a
[$] cat exam.txt 1 let's see how far does this go, and if it works or not. if not till where it 2 goes and what happens after that. In nano, things are much more better than in X 3 text editors as there is no set fill therein as there is in nano and hence are 4 much worse off.
In dpkg there doesn't seem to do that, or is there ? I am on Debian testing and running dpkg 1.18.18 . Just to make the listing less cumbersome, am using head -
[$] dpkg -L nano | head /. /bin /bin/nano /etc /etc/nanorc /usr /usr/share /usr/share/doc /usr/share/doc/nano /usr/share/doc/nano/AUTHORS
Because I'm using head I know these are 10 lines or 10 files, considering . as a file as well. I did try something like -
$ dpkg -nL nano
But got the error it doesn't know that option.
If it's not possible, please let me know so I can file it as a feature-request in