Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Most Recent File



I want to list the most recent file in the current directory.
    print -l -- *(-om[1,1])
works for ordinary filenames, but does not quote the output appropriately if the filename contains spaces.  How do I quote the _expression_ to accommodate filenames which contain spaces?

TIA,
  Vin
--
Never for money, always for love


Messages sorted by: Reverse Date, Date, Thread, Author