meta data for this page
  •  

Összehasonlítás

A kiválasztott és az jelenlegi változat között az alábbi különbségek fordulnak elő:

Összehasonlító nézet hivatkozása

Következő változat
Előző változat
mycolorize.sh [2013/04/10 15:37] – létrehozva adminmycolorize.sh [2026/01/13 15:36] (aktuális) – admin
Sor 1: Sor 1:
-<file>+<file sh mycolorize.sh>
 #!/bin/bash #!/bin/bash
 # #
Sor 44: Sor 44:
   # if the regular expression includes \/ we split the substitution   # if the regular expression includes \/ we split the substitution
   if [ "/${re/*\\\/*/}/" = '//' ] ; then   if [ "/${re/*\\\/*/}/" = '//' ] ; then
-     re="${re/\\\//\)\(}"+#     re="${re/\\\//\)\(}" 
 +     re="${re/\\\//\\)\\(}"
      sedrules="$sedrules;s$A\($re\)$A\1${!c1}\2$beep$normal${A}g"      sedrules="$sedrules;s$A\($re\)$A\1${!c1}\2$beep$normal${A}g"
   else   else