Thank you pamu! One final question: when comparing two files, how can i output lines in a.txt but not in b.txt? (while ignoring the lines common in both files)
Output would be:
pandora
yelp
I tried comm -23 but I still get "facebook" present in the output file
Hello,
I have a shell script that is used as follows:
./script -s <Oracle_server_name>
the script returns several lines in this format:
parameter name required value Current Value comments
--------------- ------------- -------------- ---------
My objective now is to compare 2... (1 Reply)
I have a large Filesystem on an AIX server and another one on a Red Hat box. I have syncd the two filesystems using rsysnc.
What Im looking for is a script that would compare to the two filesystems to make sure the bits match up and the number of files match up.
its around 2.8 million... (5 Replies)
Hi expert,
I using csh and i trying to compare no. of line of the file.
Example:
I have 2 files.
file1
ONE
TWO
THREE
FOUR
FIVE
file 2
ONE
TWO
THREE
FOUR
file1 have 5 lines but file2 have 4 lines. (1 Reply)
Hi,
I have created one shell script in which it will count number of "~" tilda charactors from each line of the file.But the problem is that i need to count each line count individually, that means. if line one contains 14 "~"s and line two contains 15 "~"s then it should give an error msg.each... (3 Replies)
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
dear all,
i need help about this case
i have line number extract in file fileA.txt like this:
231
123
444
231
213
...
now i want to compare the line number fileA.txt to find other file in fileB.txt
exp: if i use one by one like this:
cat fileB.txt | sed -n -e "444"p
huff...is not... (3 Replies)
Currently I am outputting users and I want to number them starting with 1...
grep name list.txt | awk -F"=" '{ print $2 }' | while read user; do
echo -e "1\t|$user"
Currently I have:
1 | john
1 | amy
1 | max
I want it to look like
1 | john
2 | amy
3 | max (2 Replies)
Hello,
I currently have a script that outputs to a file that contains the output below. It runs every X minutes. I would like to compare the first run against the second but only output if the minutes column is less than its original or if anything else changes. Thanks for the help.
Original
... (2 Replies)
Hi All,
I'm trying to figure out which are the trusted-ips and which are not using a script file.. I have a file named 'ip-list.txt' which contains some ip addresses and another file named 'trusted-ip-list.txt' which also contains some ip addresses. I want to read a line from... (4 Replies)
Hi ,
My requirement is to Compare 2 files having different number of columns and records and get the ouptut containing all the non-matching records from File A(with all column values ) .Example data below :
File A contains following :
Aishvarya |1234... (4 Replies)
Discussion started by: aishvarya.singh
4 Replies
LEARN ABOUT OPENSOLARIS
gnome-help
yelp(1) User Commands yelp(1)NAME
yelp, gnome-help - GNOME help browser
SYNOPSIS
yelp | gnome-help [--private-session] [--with-cache-dir=string] [gnome-std-options] url
DESCRIPTION
The GNOME help browser is a utility that allows users to view documentation for GNOME in several formats including man pages, HTML,
SGML(DocBook), and GNU info files.
OPTIONS
The following options are supported:
--private-session Use a private session.
--with-cache-dir=directory Specify which cache directory to use.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more infor-
mation.
OPERANDS
The following operands are supported:
url This allows you to view a specific help document by providing the complete url to the documentation that you wish to view.
If url starts with "ghelp:", yelp opens the help document within ghelp.
If url does not start with "ghelp:", yelp attempts to launch a default Internet browser window and display the contents of
the help document within this browser window.
EXTENDED DESCRIPTION
Refer to the GNOME Handbook of Writing Software Documentation:
http://developer.gnome.org/projects/gdp/handbook.html
To access the API documentation for including help in applications, you must install the developer version of the package.
EXAMPLES
Example 1: Launching GNOME Help Browser
example% yelp
Example 2: Launching GNOME Help Browser and loading the help information for the GNOME Accessibility guide.
example% yelp ghelp:///usr/share/gnome/help/gnome-access-guide/C/gnome-access-guide.xml
Example 3: Launching GNOME Help Browser with a standard Internet URL
example% yelp http://www.gnome.org
The default Internet browser is launched (unless a browser is already running), and this URL is displayed within the browser window.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
INFOPATH Location of GNU Info files.
MANPATH Location of man pages.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/yelp Executable for GNOME help browser
/usr/bin/gnome-help Symbolic link to yelp.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-help-viewer |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
scrollkeeper-config(1), scrollkeeper(1), scrollkeeper-devel(1), attributes(5), environ(5), gnome-std-options(5)NOTES
yelp and gnome-help are both the same application.
Written by Matt Keenan, Sun Microsystems Inc., 2003, 2007.
SunOS 5.11 08 Nov 2007 yelp(1)