[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to do syntax highlighting without opening the editor?
From: |
Benno Schulenberg |
Subject: |
Re: how to do syntax highlighting without opening the editor? |
Date: |
Fri, 24 Jan 2020 17:47:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
Op 24-01-2020 om 07:23 schreef Zach DeCook:
> Is there a method (or neat trick) to create syntax-highlighted-output into
> stdout without opening the editor? (Or perhaps are there other
> syntax-highlighting tools that can use nanorc files as config?)
Nano itself cannot create output on stdout. There are other tools
for syntax coloring (https://www.gnu.org/software/src-highlite/,
for example), but it cannot use nano's syntax files.
Benno
signature.asc
Description: OpenPGP digital signature