i have two files and i want to compare these two
it shoud print those lines which are not in 2nd file
a.txt
1236,AB,0
2345,CD,1
5679,EF,1
9123,AA,1
9223,AA,0
b.txt
1234,AB,0
2345,CD,1
5678,EF,1
9123,AA,0
o/p
1236,AB,0
5679,EF,1
9123,AA,1
9223,AA,0 (6 Replies)
Hi Experts,
My requirement is to compare the second field/column in two files, if the second column is same in both the files then compare the first field. If the first is not matching then print the first and second fields of both the files.
first file (a .txt)
< 1210018971FF0000,... (6 Replies)
Hi all,
I have a two files ... the first file contain "ls -la " output on directory. second file contains " ls -la " output on the same directory but after removing some files from the directory.... how to get the file names that are removed ....... the total no of files are more than 1000 so... (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 everybody,
First I apologize if my question seems demasiad you silly, but it really took 4 days struggling with this, I looked at books, forums ... And Also ask help to a friend that is software developer and he told me that it is a bad idea do it by perl... but this is my problem.
I moved to... (8 Replies)
I am having two csv files i need to compare these files and the output file should have the information of the differences at the field level.
For Example,
File 1:
A,B,C,D,E,F
1,2,3,4,5,6
File 2:
A,C,B,D,E,F
1,2,4,5,5,6
out put file: (12 Replies)
Hi,
I want to compare 2 files and get output file into seperate folder.
Both file names will change daily with timestamp (ex: file1_06_17_2013_0514), so i can't mention the file names in the script to compare,
but i need to compare these 2 files daily and generate output to another... (28 Replies)
Hello,
I have two files file 1 and file 2 each having result of a query on certain database tables and need to compare for Col1 in file1 with Col3 in file2, compare Col2 with Col4 and output the value of Col1 from File1 which is a) not present in Col3 of File2 b) value of Col2 is different from... (2 Replies)
Hi All,
i want to write a shell script read below file line by line and want to exclude the lines which contains empty value for MOUNTPOINT field.
i am using centos 7 Operating system.
want to read below file.
# cat /tmp/d5
NAME="/dev/sda" TYPE="disk" SIZE="60G" OWNER="root"... (4 Replies)
I have two file as given below which shows the ACL permissions of each file. I need to compare the source file with target file and list down the difference as specified below in required output. Can someone help me on this ?
Source File
*************
# file: /local/test_1
# owner: own
#... (4 Replies)
Discussion started by: sarathy_a35
4 Replies
LEARN ABOUT DEBIAN
ttk::label
ttk::label(3tk) Tk Themed Widget ttk::label(3tk)__________________________________________________________________________________________________________________________________________________NAME
ttk::label - Display a text string and/or image
SYNOPSIS
ttk::label pathName ?options?
_________________________________________________________________DESCRIPTION
A ttk::label widget displays a textual label and/or image. The label may be linked to a Tcl variable to automatically change the displayed
text.
STANDARD OPTIONS -class-compound-cursor
-image-style-takefocus
-text-textvariable-underline
-width
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
Command-Line Name:-anchor
Database Name: anchor
Database Class: Anchor
Specifies how the information in the widget is positioned relative to the inner margins. Legal values are n, ne, e, se, s, sw, w,
nw, and center. See also -justify.
Command-Line Name:-background
Database Name: frameColor
Database Class: FrameColor
The widget's background color. If unspecified, the theme default is used.
Command-Line Name:-font
Database Name: font
Database Class: Font
Font to use for label text.
Command-Line Name:-foreground
Database Name: textColor
Database Class: TextColor
The widget's foreground color. If unspecified, the theme default is used.
Command-Line Name:-justify
Database Name: justify
Database Class: Justify
If there are multiple lines of text, specifies how the lines are laid out relative to one another. One of left, center, or right.
See also -anchor.
Command-Line Name:-padding
Database Name: padding
Database Class: Padding
Specifies the amount of extra space to allocate for the widget. The padding is a list of up to four length specifications left top
right bottom. If fewer than four elements are specified, bottom defaults to top, right defaults to left, and top defaults to left.
Command-Line Name:-relief
Database Name: relief
Database Class: Relief
Specifies the 3-D effect desired for the widget border. Valid values are flat, groove, raised, ridge, solid, and sunken.
Command-Line Name:-text
Database Name: text
Database Class: Text
Specifies a text string to be displayed inside the widget (unless overridden by -textvariable).
Command-Line Name:-wraplength
Database Name: wrapLength
Database Class: WrapLength
Specifies the maximum line length (in pixels). If this option is less than or equal to zero, then automatic wrapping is not per-
formed; otherwise the text is split into lines such that no line is longer than the specified value.
WIDGET COMMAND
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(3tk).
SEE ALSO ttk::widget(3tk), label(3tk)Tk 8.5 ttk::label(3tk)