Hi,
I have to search those statements from the file which starts from "shanky"(only shanky, shanky09 or 09shanky is not allowed) and ends with ");". These two string can be in a same line or different line. And also i have to negate those lines which starts with #.
Can any one please give me... (2 Replies)
I have 10 appservers and each appserver has 4 jvms . Each of these logs is archived and stored on a nfs directory . For example the files are
/logs/200907/ap1-jvm1.server.log.20090715.gz
/logs/200907/ap2-jvm2.server.log.20090714.gz
/logs/200908/ap1-jvm1.server.log.20090812.gz
I want to... (3 Replies)
user 10
values
content is:
musage.py
yes
value
user 11
values
content is:
gusage.py
yes
value
how to print "user" string line by searching "content is:" string and "usage.py" string in perl (8 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I have file which has got the following content
sam 123 LD 41
sam 234 kp
sam LD 41
kam pu
sam LD 61
Now... (1 Reply)
Want to fetch a column with multiple pattern using awk.
How to achieve the same.
Tried
cat test
address : 10.63.20.92/24
address : 10.64.22.93/24
address : 10.53.40.91/24
cat test | awk '{print $3}' |awk -F "/" '{print $1}'
10.63.20.92
10.64.22.93
10.53.40.91
Is there any... (2 Replies)
I am working on AIX operating system.
I want to search list of Article Id for given Set Date (which are present in a seperate file input.txt)
art_list.csv
------------
"Article ID" |"Ad Description" |"Pyramid"|"Pyramid Desc "|"ProductTypeId"|"Set Date "|... (3 Replies)
I have a sample file with following output:
HTTP/1.1 200 OK
User: admin
Set-Cookie: AMBARISESSIONID=y3v3648yqcno32nq478kw7ar;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/plain
Vary: Accept-Encoding, User-Agent
Content-Length: 6057
Server:... (4 Replies)
#!/usr/bin/ksh
a="Run successfully"
cd $APPS
ls -l *.txt | while read $txt
do
if then
cp $APPS/$txt cp $hist/$txt
else
rm $APPS/$txt
echo "Files has been removed"
fi
done
New in shell script please help me out
Around 100 txt files in $APPS dir i want to search pattern from... (8 Replies)
Discussion started by: Kalia
8 Replies
LEARN ABOUT SUNOS
wnnotow
wnnotow(1) User Commands wnnotow(1)NAME
wnnotow - User dictionary converter
SYNOPSIS
/usr/bin/wnnotow [-i input_file] [-f format_file] [-o output_file] [-l log_file] [-h frequency_value]
DESCRIPTION
wnnotow converts a text dictionary created with another Japanese input system (ATOK7, ATOK8, cs00,EGBRIDGE, VJE-Delta) to the Wnn6 text
dictionary format.
OPTIONS
The following options are available.
-i input_file Specifies the name of the dictionary text to be converted. The text code must be EUC. The standard input is read if this
option is omitted.
-f format_file Specifies the name of the file defining the format used in the input file. The text code must be EUC. The format files cor-
responding to each FEP are as follows.
Directory: /usr/lib/locale/ja/wnn/ja/otow.format/
Files: atok7-wnn6.fmt (ATOK7) atok8-wnn6.fmt(ATOK8) cs00-wnn6.fmt(cs00) egbridge-wnn6.fmt(EGBRIDGE) vje-
wnn6.fmt(VJE-Delta)
The ATOK7 format is used if this option is omitted.
-o output_file Writes the conversion results in the specified file. The output character code must be Japanese EUC. The output is written
to the standard output if this option is omitted.
-l log_file Specifies the name of the log file to save error information if unconvertable words are found. The output character code
must be Japanese EUC. No log file will be created if this option is omitted.
-h frequency_valSpecifies the frequency value to applied for the output file. A frequency value of 1 will be applied if this option is
omitted.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWjwncu |
+-----------------------------+-----------------------------+
SEE ALSO wnnatod(1), wnndictutil(1)SunOS 5.10 2 Mar 1998 wnnotow(1)