i have a file a.txt and following is only one portion.
I want to search <branch value="/dev36/AREA/" include="yes"></branch> present in between
<template_file name="Approve External" path="core/approve/bin" and </template_file>
where the no of lines containing "<branch value= " is increasing ... (2 Replies)
Hello all, new to unix and have just found the forum.
I think I will be here quite often, and hope that in time i will be able to provide soem help, role on not being a newbie anymore :)
I have a question which iI am hoping someone could help me with.
If i have a file with lines in in thus... (8 Replies)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
OK I will do my best to explain what I need help with.
I am trying to format an ldif file so I can import it into Oracle oid.
I need the file to look like this example. Keep in mind there are 3000 of these in the file.
changetype: modify
replace: userpassword
dn:... (0 Replies)
Hi,
I have one file, say file 1, that has data like below where 19900107 is the date,
19900107 12 144 129 0.7380047
19900108 12 168 129 0.3149017
19900109 12 192 129 3.2766666E-02
... (3 Replies)
Hi,
So I'm kinda new to shell scripts and the like. I've picked up quite a bit of use from browsing the forums here but ran into a new one that I can't seem to find an answer for.
I'm looking to parse/find a string AND the next 15 or so charachters that follow the string within a text file... (1 Reply)
Hello,
I have some data in a text file where fields are separated by blank lines. There are only 6 fields however some fields have several lines of data as I will explain. Also data in a particular field is not consistently the same size but does end on a blank line. The first field start with... (6 Replies)
I am trying to use awk skip each line with a ## or # and check each line after for STB= and if that value in greater than or = to 0.8, then at the end of line the text "STRAND BIAS" is written in else "GOOD".
So in the file of 4 entries attached.
awk tried:
awk NR > "##"' "#" -F"STB="... (6 Replies)
Hello,
I have some text data that is in the form of multi-line records. Each record ends with the string $$$$ and the next record starts on the next line.
RDKit 2D
15 14 0 0 0 0 0 0 0 0999 V2000
5.4596 2.1267 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 ... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
LEARN ABOUT ULTRIX
anno
anno(1mh)anno(1mh)Name
anno - annotate messages
Syntax
anno [ +folder ] [ msgs ] [ -component field ] [ -help ] [ -[no]inplace ] [ -text body ]
Description
The command annotates a message by adding one or more header fields to the message.
The command allows you to choose the name of the header field which you add. It records the date at which the message is annotated, and
allows you to add an additional field containing text, if you wish.
You can use with and to keep track of how you have distributed, forwarded, or replied to messages.
By default, annotates the current message in the current folder. You can select another message by using the msg and +folder arguments.
You can also annotate more than one message, or a range of messages.
Options-component field
Specifies the name of the header field which adds. It should be a valid RFC 822-style message field name, which means that it
should consist of alphanumeric characters or dashes only. If you do not supply this option, will prompt you for the field name.
-help Prints a list of the valid options to this command.
-inplace
-noinplace
The -inplace switch causes annotation to be done in place in order to preserve links to the annotated message.
-text body
Allows you to add a header field containing text to the message. The command will create a second header field on the message,
containing the text that you specify. If the text contains a space, you must enclose the text in double quotes ("). If you do
not supply this option, adds only one field, which contains the date of the annotation.
The default settings for this command are:
+folder defaults to the current folder
msgs defaults to the current message
-noinplace
Examples
This example annotates message number 1 in the folder The -component option specifies the name of the header field:
% anno 1 +test -component Forwarded
The following field is added to the message header:
Forwarded: Tue, 08 Jan 91 16:10:06 +0000
The next example shows how to use the -text option to add an additional field:
% anno -component Forwarded -text "to David - as requested"
The following lines are added to the message header:
Forwarded: Tue, 08 Jan 91 16:13:27 +0000
Forwarded: to David - as requested
The final example shows how prompts for the name of the header field, if the -component option is not supplied:
% anno
Enter component name: forwarded
The following line is added to the message:
forwarded: Tue, 08 Jan 91 16:21:58 +0000
Profile Components
Path: To determine your Mail directory
Files
The user profile.
See Alsodist(1mh), forw(1mh), repl(1mh)anno(1mh)