I'm sure this will be an easy question for you experts out there, but I have been searching the forum and working on this for a couple hours now and can't get it right.
I have a very messy data file that I am trying to tidy up - one of the issues is some records are split into multiple lines: ... (4 Replies)
Hi,
Can anyone help me for merge the following multi-line log which beginning with a number and time: into one line. For each line need to delete the return and add a space. Please see the red color line.
*****Original Log*****... (4 Replies)
Hello,
Can anyone let me know how to use Perl script to Merge following multi-lines into one single line...
***** Multi-line*****
FILE_Write root OK Tue Jul 01 00:00:00 2008 cl_get_path
file descriptor = 1
FILE_Write root OK ... (5 Replies)
The symbols are \t and \t\t (note: not tab)
If the line starts with \t merge them into a single line upto symbol \t\t
\t\t to end and start new line
I able to join in a single line but not ending at \t\t and I completely confused
help would be appreciated:b::D
Input
\ta tab XXXXXXXXXX
\te... (5 Replies)
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
example:
comment Now_TB.table column errac is for error messages
1 - first
2 - second
3 -third ;
in this example I need to be able to grab the comment as first word and ; as the last word and it might span a few lines. I need it to be put all in one line without line breaks so I can... (4 Replies)
Hi guys,
So i have a input file with several sequences aligned (fasta)
>NC_005930 241 bp
MNMINIFIINNIFDQFIPVKLSIFSLTSVGSIIA
LSWVWINTKTHWAISRSNTP-SLLLNSL
WTLLITNL-NEKTNPWAPWLFSLFLLCFSFNIMSLI-PYTF-SQ
TSHLSFTFGLSLPIWIMVNIAGFKNNWKKKISHLLPQGTPIYLVPVMII
IETISLFIQPLTLGFRLGANLLAGHLLIFLCSCTIWE... (6 Replies)
:confused:Hello -- i just joined the forums. I am a complete noob -- only about 1 week into learning how to program anything... and starting with linux.
I am working in Linux terminal.
I have a folder with a bunch of txt files. Each file has several lines of html code. I want to combine... (2 Replies)
Hi,
Can anyone help me for merge the following multi-line log which beginning with a " and line ending with ": into one line.
*****Original Log*****
087;2008-12-06;084403;"mc;;SYHLR6AP1D\LNZW;AD-703;1;12475;SYHLR6AP1B;1.1.1.1;0000000062;HGPDI:MSISDN=12345678,APNID=1,EQOSID=365;... (3 Replies)
Discussion started by: rajeshlinux2010
3 Replies
LEARN ABOUT DEBIAN
mkdic
MKDIC(1) General Commands Manual MKDIC(1)NAME
mkdic - Tool for creating a user dictionary
SYNOPSIS
mkdic [{-cs|-cannaserver} canna-server] [-s] [- | -l local-file] remote-dic
DESCRIPTION
mkdic creates user dictionary named remote-dic in the user dictionary directory of the remote host, on which cannaserver(1M) is in opera-
tion. Dictionary file name remote-dic is assigned to this file at this time.
If the - and -l option isn't specified, mkdic creates an empty dictionary.
If the - option is specified, the standard input will be used as the dictionary file. If the -l option is specified, local-file will be
used as the dictionary file.
If the user dictionary directory does not exist, it will be created.
Dictionary directory file -- dics.dir -- is rewritten automatically after the registering. The registered dictionary can thus be used by
writing the dictionary name into the customize file.
OPTIONS -cs canna-server (or -cannaserver canna-server)
Specifies the server machine that contains the dictionary to be created.
-s Indicates that the dictionary to be created is an adjunct dictionary. If this option is omitted, the dictionary will be cre-
ated as an independent-word one.
-l local-file
Registers the input data from local-file.
- The standard input will be used as the dictionary file.
EXAMPLES(1) If you want to creat an empty dictionary file:
% mkdic test(2) If you want to register the input data from the standard input:
% mkdic test -
Registers the input data from the standard input, in the user dictionary directory under dictionary name ``test''. The following line is
then added to dictionary directory file -- dics.dir -- :
user1.t(.mwd) -test-(3) If the dictionary file is specified:
% mkdic test -l test1.t
Registers independent-word dictionary file ``test1.t'' in the remote host's user dictionary directory under dictionary name ``test''. The
following line is then added to dics.dir:
user1.t(.mvd) -test-
user1.t is a dictionary file name generated automatically by the system.
SEE ALSO catdic(1), cannaserver(1M), lsdic(1)MKDIC(1)