01-07-2010
As I mentioned, -W doesn't produce exact output as I want. I want to preserve the alignment of original file and hence, have to use -yt.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have to compare two files file1 and file2, retrieve the number of lines modified (added, deleted or modified) in file2. Output must be like:
File2:
Added Deleted Changed Total
------ ------- -------- -----
2 1 1 4
Somebody... (2 Replies)
Discussion started by: nmattam
2 Replies
2. UNIX for Dummies Questions & Answers
Using the vanilla
ps -ef
I noticed that the CMD (or command) line gets cut off after 90 characters
UID PID PPID C STIME TTY TIME CMD
root 6020 3822 0 Jun 19 ? 0:01 ./webservd-wdog -r /export/opt/sows/61sp4 -d /export/opt/sows/61sp4/https-logse
Googling... (4 Replies)
Discussion started by: SixSigma1978
4 Replies
3. Shell Programming and Scripting
Hi,
How can i use AWK or any other commands to find the difference between 2 files.
File A
aaa
bbb
ccc
111
222
File B
aaa
ccc
111
Output
bbb
222 (6 Replies)
Discussion started by: gambit97
6 Replies
4. Shell Programming and Scripting
Hi.. I'm facing a trouble in replacing two blank lines in a file using shell script...
I used sed to search a line and insert two blank lines after the searchd line using the following sed command.
sed "/data/{G;G;}/" filename . In the file, after data tag, two lines got inserted blank lines..... (4 Replies)
Discussion started by: arjun_arippa
4 Replies
5. Shell Programming and Scripting
I have a file like
blah
blah blah blah
this is the text I need,
which might be between 1-4 lines, but
always has a blank line above and below
it, and is at the end of the text file
the code tags don't show the trailing blank line. I started by deleting the last blank line with:
... (2 Replies)
Discussion started by: unclecameron
2 Replies
6. Shell Programming and Scripting
Is there a way to tell diff to show differences one line at a time and not to group them? For example, I have two files:
file1:
line 1
line 2
line 3 diff
line 4 diff
line 5 diff
line 6
line 7
file2:
line 1
line 2
line 3 diff.
line 4 diff.
line 5 diff.
line 6
line 7 (13 Replies)
Discussion started by: mmr11408
13 Replies
7. UNIX for Dummies Questions & Answers
Hi all!
Having the following two csv files:
file1
AAA;0000;RED
CCC;9900;GREEN
file2
AAA;0000;BLACK
BBB;0099;BLU
What's the correct syntax to hide only the missing rows (BBB,CCC) and show the rows that differ only with last field?
I expect something like this:
diff <options> file1... (2 Replies)
Discussion started by: Evan
2 Replies
8. Shell Programming and Scripting
Hi
Hi i have 500 lines of file,each line i need to add another two lines also need to separate with one line for every 3 lines after adding two lines.How to achieve this using shell?
For example:
Input file :
dn: uid=apple,dc=example,dc=com
dn: uid=ball,dc=example,dc=com
output:... (4 Replies)
Discussion started by: buzzme
4 Replies
9. Shell Programming and Scripting
Hello,
I have two files to compare these contain some contents like this :
FIle 1 :
A
B
C
E
File 2 has some new entries and the old entries are in some different ordre
File 2 could be like this :
C
E
A
B
G
I (4 Replies)
Discussion started by: ajayram
4 Replies
10. UNIX for Beginners Questions & Answers
Hello, I have input that looks like this:
* 0 -1 103 0 0 m. 7 LineNr 23 ClauseNr 1: 1: 1: 304: 0 0 SentenceNr 13 TxtType: Q Pargr: 2.1 ClType:MSyn
PS004,006 ZBX= 0 1 1 0 7 -1 -1 3 2 3 2 -1 1 1 -1 -1 -1 -1 0 501 0
PS004,006 ZBX ... (2 Replies)
Discussion started by: jvoot
2 Replies
LEARN ABOUT DEBIAN
yaskkserv_make_dictionary
YASKKSERV_MAKE_DICTIONARY(1) General Commands Manual YASKKSERV_MAKE_DICTIONARY(1)
NAME
yaskkserv_make_dictionary - dictionary converter for yaskkserv
SYNOPSIS
yaskkserv_make_dictionary [OPTION] skk-dictionary output-dictionary
DESCRIPTION
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
yaskkserv is a dictionary server for the SKK Japanese input method system. yaskkserv is written in C++ from scratch in consideration of
embedded environment, but is compatible with skkserv on the protocol behavior.
yaskkserv_make_dictionary converts dictionary file of original format into that of yaskkserv format.
OPTIONS
-a, --alignment
enable alignment (default disable)
-b, --block-size=SIZE
set block size (default 8192)
-d, --debug
print debug information
-h, --help
print this help and exit
-s, --short-block
enable short block (must set --alignment) (default disable)
-v, --version
print version
-a, --alignment
enable alignment (default disable)
-b, --block-size=SIZE
set block size (default 8192)
-d, --debug
print debug information
-h, --help
print this help and exit
-s, --short-block
enable short block (must set --alignment) (default disable)
-v, --version
print version
COPYRIGHT
Copyright (C) 2005, 2006, 2007, 2008 Tadashi Watanabe.
SEE ALSO
yaskkserv_hairy(1), yaskkserv_normal(1), yaskkserv_simple(1).
AUTHOR
yaskkserv was written by Tadashi Watanabe <wac@umiushi.org>.
This manual page was written by KURASHIKI Satoru <lurdan@gmail.com>, for the Debian project (but may be used by others).
January 17, 2008 YASKKSERV_MAKE_DICTIONARY(1)