[Linux-Biella] Fwd: Script to help users to report a BUG

andrea ferraris andrea_ferraris a libero.it
Gio 23 Giu 2005 20:34:30 CEST


Paolo Ciarrocchi wrote:
> http://stud.wsi.edu.pl/~piotrowskim/files/ort/ort-a7.tar.bz2



--- ort.sh      2005-06-23 13:59:29.000000000 +0200
+++ ort.sh_af      2005-06-23 20:10:50.000000000 +0200
@@ -16,7 +16,7 @@
  # along with this program; if not, write to the Free Software
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 
  USA

-ORT_F=ort_oops-`date +%x`.txt
+ORT_F=ort_oops-`date +%Y-%m-%d`.txt
  VER=v.a7

  M_EMAIL=a a b.c
@@ -349,4 +349,4 @@
             echo -e "some other appropriate Linux mailing list."
             END=1
      fi
-done
\ No newline at end of file
+done


Due 2 sound reasons. My locale puts slashes in the date that the system 
doesn't like as file names and, more important, dates since standards 
are standards, should be in ISO format, so that they can be ordered and 
are the same ones for everybody (English people and not). Maybe there 
are sound reasons to do this way (date %x), but I don't understand which 
ones could be.

Gradite patches al mio englisce e anche ai miei argomenti e anche 
soppressione della paccina se ha delle buone ragioni che ignoro per fare 
come faceva.

Andrea


Maggiori informazioni sulla lista Linux