Hi All ,
I am trying to build a script using awk that checks columns of the înput file and displays message if the column length exceeds 35 char.
i have tried the below code but it does not work properly (2 Replies)
Hi guys,
I have tried to find a solution for this problem but couln't. If anyone of you have an Idea do help me.
INPUT_FILE
with three columns shown to be separated by - sign
A5BNK723NVI - 1 - 294
A7QZM0VIT - 251 - 537
A7NU3411V - 245 - 527
I want an output file in which First column... (2 Replies)
For example, if I have the file whose content are:
>HWI-EAS382_30FC7AAXX:7:1:927:1368
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
>HWI-EAS382_30FC7AAXX:7:1:924:1373
ACGAACTTTAAAGCACCTCTTGGCTCGTATGCCGTC
I want my output calculate the total length of nucleotide. So my output should look like this:... (1 Reply)
Hi Friends,
I have .txt file which has 13000 records.
Each record is 278 character long.
I am using below code to extract the string and it takes almost 10 minutes.
Any suggestion please.
cat filename.txt|while read line
do
f1=`echo $line|awk '{print substr($1,1,9)}'`
f2=`echo... (6 Replies)
All,
I can't seem to find exactly what I'm looking for, and haven't had any luck patching things together.
I need to look through a file, and if the record length is not 874, then add 'E' in position 778.
Your help is greatly appreciated. (4 Replies)
Hi ,
I need to extract data from below mentioned data, having no delimiter and havin no fixed column length.
For example:
Member nbr Ref no date
10000 1000 10202012
200000 2000 11202012
Output:
to update DB with memeber nbr on basis of ref no.
... (6 Replies)
How to find total number of special character in a column?
I am using awk -f "," '$col_number "*$" {print $col_number}' file.csv|wc -l but its not giving correct output. It's giving output as 1 even though i give no special character?
Please use code tags next time for your code and... (4 Replies)
Hi,
I need help with one problem, I came across recently.
I have one input file which I need to delimit based on character length.
$ cat Input.txt
12345sda231453
asd760kjol62569
sdasw4g76gdf57
And, There is one comma separated file which mentions "start of the field" and "length... (6 Replies)
Good day, I am a newbie here and thanks for accepting me
I have a task to modify input data where my input data looks like
123|34567|CHINE
1|23|INDIA
34512|21|USA
104|901|INDIASee that my input has two columns with different character length but max length is 5 and minimum length is 0 which... (1 Reply)
Discussion started by: fastlearner
1 Replies
LEARN ABOUT OSF1
jserver
jserver(1M) System Administration Commands jserver(1M)NAME
jserver - Wnn6 Kana-Kanji conversion server
SYNOPSIS
/usr/lib/locale/ja/wnn/jserver [-f file] [-s file] [-h file] [-A file] [-N no] [-pno port_no] [-ds default_wnnds_list] [ + ds]
DESCRIPTION
jserver provides one or more users with Kana-Kanji conversion features for Japanese input. It is launched normally from
/etc/rc2.d/S94Wnn6 upon the system startup. jserver reads and processes the initialization file /etc/lib/locale/ja/wnn/ja/jserverrc when
launched.
OPTIONS
The following options are available.
-f file Reads as the initialization file instead of the default initialization file /etc/lib/locale/ja/wnn/ja/jserverrc.
-s file Stores log in file. When "-" is specified for file, the output is directed to the standard output.
-h file Reads as the part of speech data file instead of the default part of speech data file
/usr/lib/locale/ja/wnn/ja/hinsi.data.
-A file Reads as the access control file instead of the default access conntrol file /etc/lib/locale/ja/wnn/wnnhosts.
-N no Uses the value obtained by adding no to the well-known port number(22273), as TCP port number.
-pno port_no Uses port_no as TCP port number instead of the well-known port number.
-ds default_wnndSpecifies the list of the default dictionary lookup servers. One of the following formats is used for dictionary lookup
server.
hostname Specifies the dictionary lookup server that uses the well-known port number(26208) on host hostname.
hostname:Specifies the dictionary lookup server that uses the well-known port number + no as port number on host hostname.
hostname/Specifies the dictionary lookup server that uses port_no as port number on host hostname .
Up to three dictionary lookup server can be specified by separating them with a ",".
Example:
hostname1,hostname2:10,hostname/26228
When this option is used, jserver tries to search and connect to the dictionary lookup server in the order specified on
the startup. The dictionary lookup server first connected is used as default server.
If this option is omitted and the default dictionary lookup server is defined in the initialization file jserverrc, the
default server is tried.
If either this option is not specified or the default dictionary lookup server is not defined in the initialization file,
jserver does not connect to the dictionary lookup server by default but uses relevant dictionary files directly.
FILES
/tmp/jd_sockV6
UNIX domain socket
/etc/lib/locale/ja/wnnja/jserverrc
jserver initialization file
/etc/lib/locale/ja/wnn/wnnhosts
Wnn6 access control file
/usr/lib/locale/ja/wnn/ja/hinsi.data
Wnn6 part of speech data file
/usr/lib/locale/ja/wnn/ja/dic/iwanami/*
Wnn6 system dictionary
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWjwnsu |
+-----------------------------+-----------------------------+
SEE ALSO wnnstat(1), wnnaccess(1M), wnnds(1M), wnnkill(1M), jserverrc(4), wnnhosts(4)SunOS 5.10 10 Jan 2003 jserver(1M)