Sponsored Content
Full Discussion: Charater comparison
Top Forums Shell Programming and Scripting Charater comparison Post 302157402 by Tornado on Thursday 10th of January 2008 09:53:23 PM
Old 01-10-2008
This is what the line looks like, but it goes on and on and there is around 2500 characters.

timestamp locltime uptime state_D state_N state_n state_s state_r state_k state_c state_m state_d state_i state_t DNnsrkcmdit usr% sys% wio% idle% 1runq 5runq 15runq #proc #runque #waiting #swpque scanrate #proc/s #proc/p5s smtx smtx/cpu ncpus mntC_/ mntU_/ mntA_/ mntP_/ mntc_/ mntu_/ mnta_/ mntp_/ mntC_/var mntU_/var mntA_/var mntP_/var mntc_/var mntu_/var mnta_/var mntp_/var mntC_/export mntU_/export mntA_/export mntP_/export mntc_/export mntu_/export mnta_/export mntp_/export mntC_/export/install mntU_/export/install mntA_/export/install mntP_/export/install mntc_/export/install mntu_/export/install mnta_/export/install mntp_/export/install mntC_/export/patches mntU_/export/patches mntA_/export/patches mntP_/export/patches mntc_/export/patches mntu_/export/patches mnta_/export/patches mntp_/export/patches disk_runp_c1t0d0 disk_runp_c1t1d0 disk_runp_c5t60060E80047F150000007F1500000326d0 disk_runp_ssd5.fp1 disk_runp_c5t60060E80047F150000007F1500000325d0 disk_runp_ssd4.fp1 disk_runp_ssd5.fp0 disk_runp_ssd4.fp0 disk_runp_c0t0d0 disk_runp_c5t60060E80047F150000007F1500000326d0
Tornado
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

comparison

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

2. Shell Programming and Scripting

replacing charater

I need a help here. My administrator made some changes and we couldn't access some files any more. I am trying to replace a list of files from one format to another. Can anyone help me please? Here is an example of aaa_bbbb_cccccc.03172002_02:30:08 How can I replace the ':' with... (3 Replies)
Discussion started by: odogbolu98
3 Replies

3. Shell Programming and Scripting

running an Acii charater in a script.

Hi, I need to pass a space bar or an enter key in a script for it to return control to my script. How do I do this. For example the spacebar ascii value is 127, how do I tell the script to run this command. (4 Replies)
Discussion started by: quispiam
4 Replies

4. UNIX for Dummies Questions & Answers

Inserting a delimiter after certain charater position

Hi, I have a string : - ICFFHASMTAAMPFINCL22082006000002548789632 and i want to add delimiter after certain charater position through a script, eg. ICFFH,ASMTAAMPF,INCL,22082006,000002548789632. I have tried and am able to achieve it through cut-paste. But i don't want to use cut paste as it... (6 Replies)
Discussion started by: divz
6 Replies

5. Shell Programming and Scripting

need some help..Comparison

I need some help which would probably be for most of you a simple script. I need to read in the data from a .dat file and then compare avg to see who is the highest avg. Here is my script so far. #!/bin/ksh #reading in the data from lab3.dat filename=$1 while read name o1 o2 o3 o4 o5 o6... (0 Replies)
Discussion started by: bluesilo
0 Replies

6. Shell Programming and Scripting

$((...)) and $[...] comparison

Does $((mathematical expression)) and $ mean the same? (7 Replies)
Discussion started by: proactiveaditya
7 Replies

7. UNIX for Dummies Questions & Answers

comparison

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

8. UNIX for Dummies Questions & Answers

date comparison

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

9. Shell Programming and Scripting

Error in Comparison value

Hi I have written below Script IFS=: while read emp_id_ name manager department; do echo "$emp_id_"; count=`sqlplus -s sys/orcl as sysdba << EOF select count(*) from employee where emp_id = ('$emp_id_'); exit; EOF`; echo "$count" ; if ; then echo "data exist" else echo "not exist" ; fi;... (3 Replies)
Discussion started by: Rushab
3 Replies

10. Shell Programming and Scripting

Help about comparison

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
h5diff(1)						      General Commands Manual							 h5diff(1)

NAME
h5diff - Compares two HDF5 files and reports the differences. SYNOPSIS
h5diff file1 file2 [OPTIONS] [object1 [object2 ] ] DESCRIPTION
h5diff is a command line tool that compares two HDF5 files, file1 and file2, and reports the differences between them. Optionally, h5diff will compare two objects within these files. If only one object, object1, is specified, h5diff will compare object1 in file1 with object1 in file2. In two objects, object1 and object2, are specified, h5diff will compare object1 in file1 with object2 in file2. These objects must be HDF5 datasets. object1 and object2 must be expressed as absolute paths from the respective file's root group. Additional information, with several sample cases, can be found in the document H5diff Examples. OPTIONS
file1 file2 The HDF5 files to be compared. -h Print all differences. -r Print only the names of objects that differ; do not print the differences. These objects may be HDF5 datasets, groups, or named datatypes. -n count Print difference up to count differences, then stop. count must be a positive integer. -d delta Print only differences that are greater than the limit delta. delta must be a positive number. The comparison criterion is whether the absolute value of the difference of two corresponding values is greater than delta (e.g., |a-b| > delta, where a is a value in file1 and b is a value in file2). -p relative Print only differences that are greater than a relative error. relative must be a positive number. The comparison criterion is whether the absolute value of the difference 1 and the ratio of two corresponding values is greater than relative (e.g., |1-(b/a)| > relative where a is a value in file1 and b is a value in file2). object1 object2 Specific object(s) within the files to be compared. EXAMPLES
The following h5diff call compares the object /a/b in file1 with the object /a/c in file2: h5diff file1 file2 /a/b /a/c This h5diff call compares the object /a/b in file1 with the same object in file2: h5diff file1 file2 /a/b And this h5diff call compares all objects in both files: h5diff file1 file2 SEE ALSO
h5dump(1), h5ls(1), h5repart(1), h5import(1), gif2h5(1), h52gif(1), h5perf(1) h5diff(1)
All times are GMT -4. The time now is 10:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy