• Vincent Aranega's avatar
    Enhanced font detection for terminology · f5a9393d
    Vincent Aranega authored
    As 'grep -B' is a GNU extension, a more portable solution is preferable. The most direct and simple solution would be using 'awk':
    
        awk '/^font.name$/{print a}{a=$0}'
    
    But a sed solution could also be applied:
    
        sed -n '/^font\.name$/{g;1!p;};h'
    f5a9393d
Name
Last commit
Last update
.github Loading commit data...
ascii/distro Loading commit data...
config Loading commit data...
.travis.yml Loading commit data...
1.8.md Loading commit data...
LICENSE.md Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
neofetch Loading commit data...
neofetch.1 Loading commit data...