# HG changeset patch # User František Kučera <franta-hg@frantovo.cz> # Date 1341670752 -7200 # Node ID 5488d34dd789c2ce1a3d8ace91831235de197ab5 # Parent 71d58d008058e42978dce355bce48bc9c4e3dc60 Licence k javovskému souboru a zvýraznění jen určitých řádků zdrojáku (awk). diff -r 71d58d008058 -r 5488d34dd789 vstup/zdrojáky.xml --- a/vstup/zdrojáky.xml Sat Jul 07 14:58:36 2012 +0200 +++ b/vstup/zdrojáky.xml Sat Jul 07 16:19:12 2012 +0200 @@ -41,7 +41,9 @@ <h2>Java</h2> - <m:pre jazyk="java" src="../šablona/funkce/src/cz/frantovo/xmlWebGenerator/Xmlns.java"/> + <m:pre jazyk="java"><m:skript jazyk="bash"> + cat "šablona/funkce/src/cz/frantovo/xmlWebGenerator/Xmlns.java" | awk 'NR > 17 {print}'; + </m:skript></m:pre> <h2>XML</h2> diff -r 71d58d008058 -r 5488d34dd789 šablona/funkce/src/cz/frantovo/xmlWebGenerator/Xmlns.java --- a/šablona/funkce/src/cz/frantovo/xmlWebGenerator/Xmlns.java Sat Jul 07 14:58:36 2012 +0200 +++ b/šablona/funkce/src/cz/frantovo/xmlWebGenerator/Xmlns.java Sat Jul 07 16:19:12 2012 +0200 @@ -1,3 +1,20 @@ +/** + * XML Web generátor – program na generování webových stránek + * Copyright © 2012 František Kučera (frantovo.cz) + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ package cz.frantovo.xmlWebGenerator; /**