From: Simon Ruderich Date: Tue, 19 Aug 2014 14:13:08 +0000 (+0200) Subject: term2gui.pl: read from STDIN X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=0ca8eae3ee251e2943e510098381ff9fa7e972bd;p=config%2Fdotfiles.git term2gui.pl: read from STDIN --- diff --git a/term2gui.pl b/term2gui.pl index 6da84f4..274ad2c 100755 --- a/term2gui.pl +++ b/term2gui.pl @@ -3,7 +3,7 @@ # Convert a terminal color scheme for 256 color terminals to a GUI color # scheme by adding the appropriate gui* options. -# Copyright (C) 2012 Simon Ruderich +# Copyright (C) 2012-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -281,7 +281,7 @@ sub xterm2rgb { } -while (<>)) { +while () { # Only handle lines with highlight commands. if (/^\s*\bhi(?:ghlight)?\b/) { foreach my $setting (m/\bcterm(?:fg|bg)?=\S+/g) {