10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello folks,
I have two files, which have usernames, I want to see the contents of file1.txt which is missing in file2.txt and another comparison file2.txt contents which is missing in file1.txt. please suggest.
file1.txt
user
u2
u8
a9
p9
p3
u4
z8
aaa
ahe
oktlo (7 Replies)
Discussion started by: learnbash
7 Replies
2. UNIX for Dummies Questions & Answers
Hi friends,
I would like to compare two dates in an IF statement.
This is what I am trying, but it doesn't work.
date=20120122
minus=6
if ; then
...
fi
what would the IF clause looks like?
Thanks! :) (5 Replies)
Discussion started by: kokoro
5 Replies
3. UNIX for Dummies Questions & Answers
hi guys
i need a program that can compare a value read from a com-port and one from the terminal.
can somebody help me???
using linux kernel 2.6.14-M5
can only use standard function in sh and bash... (5 Replies)
Discussion started by: metal005
5 Replies
4. Shell Programming and Scripting
Does $((mathematical expression)) and $ mean the same? (7 Replies)
Discussion started by: proactiveaditya
7 Replies
5. Shell Programming and Scripting
Is there a way to compare the permission string of two files and output the string if they match?
For ex:
-rw-r--r-- 1 user newuser 0 2009-03-12 16:45 file2
-rw-r--r-- 1 user newuser 0 2009-03-12 16:46 fileone
output:
-rw-r--r--
If they don't match output will be just... (3 Replies)
Discussion started by: squardius
3 Replies
6. UNIX for Dummies Questions & Answers
How do I compare 2 timestamps (ie... if 2008-02-13 10:48:58.502075 gt 2008-12-15 16:00:00.000000) (4 Replies)
Discussion started by: auzark
4 Replies
7. UNIX for Dummies Questions & Answers
I have an array @name with the below contents (index 7 and 8 are names):
1|1|2|2|I|2|0|DUNN|LACY||||||
2|2|2|2|I|2|0|KOFE|ROGER||||||
3|3|2|2|A|2|0|KOFOED|ROBERT||||||
3|4|2|2|A|2|0|KOFOED|ROBERT||||||
3|5|2|2|A|2|0|KOFOED|ROBERT||||||
2|7|2|2|I|2|0|WILLIAMSON|JAMES||||||... (4 Replies)
Discussion started by: ChicagoBlues
4 Replies
8. Shell Programming and Scripting
what is the easy way to compare checksums of sereral paramters by script:
for example:
#im creating a file containing a list of checksum parameters
cksum /opt/LGTOaam51/data_source_types/UX_File_System/* > t1
#and another one
cksum /opt/LGTOaam51/data_source_types/UX_File_System2/* > t2
... (2 Replies)
Discussion started by: modcan
2 Replies
9. Shell Programming and Scripting
hi
I have 2 files to comapre ,in file a sible column it is numbers,in file b2 numbers and other values with coma separated.
i want compare numbers in file a with file b,and the out put put should be in C with numbers in both file a and b along with other columns of file b.
i used folowing... (7 Replies)
Discussion started by: satish.res
7 Replies
10. Filesystems, Disks and Memory
can anyone point me to a comparison of *nix file systems ?
i think i prefer a journalling fs
but i would like to see a comparison between several fs's before i make up my mind (2 Replies)
Discussion started by: cnf
2 Replies
GPIV_T-AVG(1) General Commands Manual GPIV_T-AVG(1)
NAME
gpiv_t-avg - Calculates time-averaged mean and variances of PIV data.
SYNOPSIS
gpiv_t-avg [-dn | --dir_name dir basename] [-df | --first_dir N] [-dl | --last_dir N] [-fb | --file_basename file basename] [-ff |
--first_file N] [-fl | --last_file N] [-fx | --file_prefix] [-h | --help] [-n | --none] [-p | --print] [-relrms] [-uv | --print] [-v |
--version]
DESCRIPTION
gpiv_t-avg calculates mean and variances from a series of piv data resulting into time-averaged values. If no parameters are defined at the
command line, standard parameters will be used that are defined in the script. This program does not use the parameter resources from libg-
piv.
Options
-dn | --dir_name dir base-name
The dir base-name represents the directory name without its last number. It is supposed that the last number in the directory name
is a counter.
-df | --first_dir
Defines the counter N of the first directory number at which the analyses starts.
-dl | --last_dir
Last directory number N at which the analyses ends.
-fb | --file_base_name file base-name
The filename has to be given without its .piv extension. The file base-name represents the file name without its last number, before
the extension. If not -fx key is used, it is supposed that the last number in the file name is a counter. The output will be written
to dir base-name/file base-name.ta_mean.piv and dirname/filename.ta_sdev.piv at which mean values and variances are written respec-
tively or to dirname/filename.ta_U.piv and to dirname/filename.ta_V.piv if -uv is used.
-ff | --first_file
Defines the counter Nof first file number at which the analyses starts.
-fl | --last_file
Last file number N at which the analyses ends.
-fx | --file_prefix
Prefix numbering to file base name.
-h | --help
On-line help.
-n | --none
Suppresses real execution.
-p | --print
Prints parameters, command line options and input and output filenames to stdout.
-relrms
Prints relative rms, related to the absolute mean value.
-uv Writes U and v displacements/velocities to separate outputs.
-v | --version
Prints version information to standard output, then exits successfully.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
19 Januari 2005 GPIV_T-AVG(1)