Hi--
Ok. I have now found that:
find -x -ls
will do what I need as far as finding all files on a particular volume. Now I need to sort the results by the file's modification date/time.
Is there a way to do that?
Also, I notice that for many files, whereas the man for find says ls is... (8 Replies)
Here is the code, but the list is not sorted properly (alphabetically)?
<?php
function folderlist(){
$startdir = './';
$ignoredDirectory = '.';
$ignoredDirectory = '..';
if (is_dir($startdir)){
if ($dh = opendir($startdir)){
while (($folder = readdir($dh)) !== false){
if... (0 Replies)
Hi,
I have a problem with a shell script.
The script should find all .cpp and .h files and list them.
With:
for file in `find $src -name '*.h' -o -name '*.cpp'
it gives out this:
H:\FileList\A\E\F\G\newCppFile.cpp
H:\FileList\header01.h
H:\FileList\B\nextCppFile.cpp
... (4 Replies)
This is the question being asked: (Sort your data file by last name first, then by the first name second - save as first_last.) I am not quite sure of the type of sort I am being asked to perform. I have read the man pages of the sort command a few times, as well as searching online for possible... (10 Replies)
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Hi Folks -
I have this file that looks like this:
outbox/logs/Client_1042.log
outbox/logs/Client_941.log
outbox/logs/Client_942.log
outbox/logs/Client_943.log
outbox/logs/Client_944.log
And this is my code:
#!/bin/bash
_OUTBOX_BIN="outbox/logs/"
_NAME="Client"
_TEMP="temp.txt"... (9 Replies)
Could you please advise on the following: I have two space-delimited files with 9 and 10 columns, respectively, with exactly the same values in column 1. However, the order of column 1 differs between the two files, so I want to sort both files by column 1, so that I can align them and... (6 Replies)
Discussion started by: aberg
6 Replies
LEARN ABOUT DEBIAN
zile
ZILE(1) User Commands ZILE(1)NAME
Zile - Zile Is Lossy Emacs
SYNOPSIS
zile [OPTION-OR-FILENAME]...
DESCRIPTION
Zile is a lightweight Emacs clone that provides a subset of Emacs's functionality suitable for basic editing.
Run Zile, the lightweight Emacs clone.
Initialization options:
--no-init-file, -q
do not load ~/.zile
--funcall, -f FUNC
call Zile Lisp function FUNC with no arguments
--load, -l FILE
load Zile Lisp FILE using the load function
--help display this help message and exit
--version
display version information and exit
Action options:
FILE visit FILE using find-file
+LINE FILE
visit FILE using find-file, then go to line LINE
Exit status is 0 if OK, 1 if it cannot start up, for example because of an invalid command-line argument, and 2 if it crashes or runs out
of memory.
FILES
~/.zile -- user's Zile init file
/usr/share/zile/dotzile-extra.el -- which contains some useful code for the init file.
AUTHOR
Zile was written by Sandro Sigala, David A. Capello and Reuben Thomas. The Lisp interpreter is based on code by Scott Lawrence.
REPORTING BUGS
Report bugs to bug-zile@gnu.org.
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. GNU Zile comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Zile under
the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
SEE ALSO emacs(1)Zile 2.3.20 November 2010 ZILE(1)