bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sync coreutils mdate-sh from gnulib


From: Paul Eggert
Subject: sync coreutils mdate-sh from gnulib
Date: Thu, 16 Dec 2004 21:26:43 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

I installed the following patch to sync coreutils from gnulib:

2004-12-16  Paul Eggert  <address@hidden>

        * config/mdate-sh: Sync from gnulib.

--- config/mdate-sh     11 Nov 2003 07:13:26 -0000      1.4
+++ config/mdate-sh     17 Dec 2004 05:23:44 -0000      1.5
@@ -1,9 +1,9 @@
 #!/bin/sh
 # Get modification time of a file or directory and pretty-print it.
 
-scriptversion=2003-11-09.00
+scriptversion=2004-12-08.12
 
-# Copyright (C) 1995, 1996, 1997, 2003  Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2003, 2004 Free Software Foundation, Inc.
 # written by Ulrich Drepper <address@hidden>, June 1995
 #
 # This program is free software; you can redistribute it and/or modify
@@ -80,7 +80,7 @@ fi
 # words should be skipped to get the date.
 
 # On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below.
-set - x`$ls_command /`
+set x`ls -l -d /`
 
 # Find which argument is the month.
 month=
@@ -107,7 +107,7 @@ do
 done
 
 # Get the extended ls output of the file or directory.
-set - x`eval "$ls_command \"\$save_arg1\""`
+set x`eval "$ls_command \"\$save_arg1\""`
 
 # Remove all preceding arguments
 eval $command




reply via email to

[Prev in Thread] Current Thread [Next in Thread]