zsh-users
 help / color / mirror / code / Atom feed
* Files with {nearly|the} same datetime
@ 2013-12-17 10:34 zzapper
  2013-12-17 18:13 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: zzapper @ 2013-12-17 10:34 UTC (permalink / raw)
  To: zsh-users

Hi
I reply a lot on using 

alias -g NF='*~vssver.scc(.om[1])'

This is sometimes not the same  file however to the newest file indicated 
by

l\s -lt | head

if the two files have the apparently same timestamp e.g. 10:05:08


.....
Having thought about it Answers OWN question
....

The solution is I guess not to use the bashite -t

but rather

ls -1rl *(.om[1,5])


Any reflections?







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Files with {nearly|the} same datetime
  2013-12-17 10:34 Files with {nearly|the} same datetime zzapper
@ 2013-12-17 18:13 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2013-12-17 18:13 UTC (permalink / raw)
  To: zsh-users

On Dec 17, 10:34am, zzapper wrote:
} Subject: Files with {nearly|the} same datetime
}
} alias -g NF='*~vssver.scc(.om[1])'
} 
} This is sometimes not the same  file however to the newest file indicated 
} by
} 
} l\s -lt | head
} 
} Any reflections?

I believe "ls" prefers to keep files in the order they are read from
the directory object, all other things equal.  Zsh is not deliberate
about that.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-17 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-17 10:34 Files with {nearly|the} same datetime zzapper
2013-12-17 18:13 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).