aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LEEME.txt3
-rw-r--r--README.txt10
-rwxr-xr-xcoment.ar1
3 files changed, 13 insertions, 1 deletions
diff --git a/LEEME.txt b/LEEME.txt
index 68b1a16..4390f6f 100644
--- a/LEEME.txt
+++ b/LEEME.txt
@@ -29,7 +29,8 @@ $ coment.ar usuario
El programa pregunta a QUE archivo queremos agregarle texto, se abre
el editor por defecto del usuario y al guardarlo, agrega el texto
al final del archivo que elegimos en la ruta de comentarios de la
-pagna web.
+pagna web. Se debe modificar esa direccion en el script por la que
+querramos usar
El programa esta pensado para formatear texto HTML para evitar que
diff --git a/README.txt b/README.txt
index 4fd34bd..bf921c4 100644
--- a/README.txt
+++ b/README.txt
@@ -7,3 +7,13 @@
# #
####################################################
+Coment.ar /koment ar/ is a script to implement a tildeversefriendly
+comment section by adding a formated text to the end of a file which
+will then be read by a tag in a web page, such as an <iframe>.
+
+Sysadmin must change the path where it will look for comment files.
+
+The script is called with a $user argument (mandatory, it will exit if there
+is no argyument). It then asks the name of comment file and it will
+open the default text editor, whereupon saving it will insert the text
+at the end of a comment file
diff --git a/coment.ar b/coment.ar
index 0581b0f..654e810 100755
--- a/coment.ar
+++ b/coment.ar
@@ -49,6 +49,7 @@ date=$(date +"%Y-%m-%d")
sed 's|&|\&amp;|g;s|<|\&lt;|g;s|>|\&gt;|g'
printf '</pre>\n'
# vuelca todo al final de un archivo en la pagina del $usuario en su carpeta web en la ruta donde se guardan los comentarios
+# esta ruta se debe adaptar a la que usaran tus usuarios.
} >> /home/$destino/public_html/com/${z}.html
# borra el temporal
Un proyecto texto-plano.xyz