I am trying to write a script that kills old sessions, I've posted here over the past few days and the script is just about perfect except I want to be given the option to exclude specified PIDs from being killed. this is the entire script:
if
then
rm /tmp/idlepids
fi
if
then
rm... (2 Replies)
I have a text file with following content (3 lines)
filename : output.txt
first line:12/12/2008
second line:12/12/2008
third line:Y
I would like to know how we can replace 'Y' with 'N' in the 3rd line keeping 1st and 2nd lines same as what it was before.
I tried using cat output.txt... (4 Replies)
Hi,
Please let me know how to find text and print text and its previous line. Please don't get irritated few days back I asked text and next line. I am using HP-UX 11.11
Thanks for your help. (6 Replies)
Hello,
I've searched through the scripting section but could not find what I need.
I need to search for empty sections within a file and remove them.
Here is an example file:
Title 123
A
B
C
D
E
Title 098
Title 567
Z
Y (4 Replies)
Hi,
I am unable to search the duplicates in a file based on the 1st,2nd,4th,5th columns in a file and also remove the duplicates in the same file.
Source filename: Filename.csv
"1","ccc","information","5000","temp","concept","new"
"1","ddd","information","6000","temp","concept","new"... (2 Replies)
Hello friends!
Help me pls to write correct awk and grep statements for my task:
I have got files with name filename.txt
It has such structure:
Start of file
FROM: address@domen.com (12...890) abc
DATE: 11/23/2009 on Std
SUBJECT: any subject
End of file
So, I must check,
if this file... (4 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Hi
I have a set of input strings in a pattern as given below
string1 string2 string3 string4 string5
I need to search this sequence of strings from a file in such a way that the first two strings (string1 and string2) and last two strings (string4 and string5) should match with the... (8 Replies)
Hello experts,
I have a text file with lot of curly brackets (both opening { & closing } ). I need to delete them alongwith the text between opening & closing brackets' pair.
For ex: Input:-
59. Rh1 Qe4 {(Qf5-e4 Qd8-g8+ Kg6-f5
Qg8-h7+ Kf5-e5 Qh7-e7+ Ke5-f5 Qe7-d7+ Qe4-e6 Qd7-h7+ Qe6-g6... (6 Replies)
Discussion started by: prvnrk
6 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)