dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 0aaa176201378e2f0fa8b79db67c2e9906aabab8
parent 812f1e94ccbc3ea79014f0e22769caaa6d93e6f3
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Tue, 19 Jul 2022 19:57:38 -0500

Added texmath perl script

Diffstat:
Alinux/.local/bin/texmath | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/linux/.local/bin/texmath b/linux/.local/bin/texmath @@ -0,0 +1,11 @@ +#!/usr/bin/perl +use strict; +use warnings; + +my @l = split /\$/, join( " ", <STDIN> ); +my $i = 0; +foreach (@l) { + next if $_ eq ''; + print $_ . "\n" if $i % 2; + ++$i; +}