public inbox for gentoo-doc-es@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-doc-es] Actualizacion de archivos del manual. Añadiendo versión y fecha.
@ 2004-11-09 23:48 Yos
  0 siblings, 0 replies; only message in thread
From: Yos @ 2004-11-09 23:48 UTC (permalink / raw
  To: Lista Gentoo Doc-Es

A través de la lista de documentación me entero de lo siguiente:

------------------------------------------
To all translation teams:
Update your English originals and use the script below to add their date &
versions to your translations, with dates formatted in your language of course.
Update the locale and date format as required.

Use with caution and only once.
Play with the following command if you need to test the date command:

echo 'November 2, 2004'|LC_ALL="fr_FR.utf8" date -d "$D" +"%e %B %Y"

"""
#!/bin/bash

for hb in `ls hb-*xml`; do
 if [ -f "../../en/handbook/$hb" ]; then
  V=`grep '^<version' ../../en/handbook/$hb`
  D=`grep '^<date' ../../en/handbook/$hb|sed "s:^<date>\\(.*\\)</date>$:\\1:"`
  ND=`LC_ALL="fr_FR.utf8" date -d "$D" +"%e %B %Y"`
  echo "$hb : $V  $D => $ND "
  grep -B 99 "^<sections" $hb > toto.xml
  echo -e "\n$V\n<date>$ND</date>\n" >> toto.xml
  grep -A 9999 "^<sections" $hb |grep -v "^<sections">> toto.xml
  mv toto.xml $hb
 fi
done
"""
------------------------------------------

Espero que Bass o Chigui pueden resolver pronto este asunto. 
Gracias de antemano.

--
gentoo-doc-es@gentoo.org mailing list


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-09 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-09 23:48 [gentoo-doc-es] Actualizacion de archivos del manual. Añadiendo versión y fecha Yos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox