Basically I wanna take grep output,
EACH_OPTION_CHARGE: V033*, VMVM, 4.00, M
EACH_OPTION_CHARGE: V040*, VMVM, 4.00, M
EACH_OPTION_CHARGE: V042*, VMVM, 4.50, M
EACH_OPTION_CHARGE: V043*, VMVM, 5.00, M
EACH_OPTION_CHARGE: V050*, VMVM, 4.00, M
EACH_OPTION_CHARGE: V052*,... (1 Reply)
hey gents,
I'm working on something that will use snmpwalk to query the devices on my network and retreive the device name, device IP, device model and device serial. I'm using Nmap for the enumeration and sed to clean up the results for use by snmpwalk. Once i get all the data organized I'm... (8 Replies)
Hi,
Can anyone know how to use perl to merge the following multi-line information which beginning with "BAM" into one line. For each line need to delete the return and add a space. Please see the red color line.
******Org. Multi-line)
BAM admin 101.203.57.22 ... (3 Replies)
Hello,
Did anyone know how to write a perl script to merge the multi-line into a single line where each line with start at timestamp
Input-->
timestamp=2009-11-10-04.55.20.829347;
a;
b;
c;
timestamp=2009-11-10-04.55.20.829347;
aa;
bb;
cc; (5 Replies)
Hello
I did do a search and the past threads doesn't really solve my issue. (using various awk commands)
I need to combine the output from java -version into 1 line, but I am having difficulties.
When you exec java -version, you get:
java version "1.5.0_06"
Java(TM) 2 Runtime... (5 Replies)
Hi,
My Oracle query is returing below o/p
----------------------------------------------------------
Ins trnas value
a lkp1 x
a lkp1 y
b lkp1 a
b lkp2 x
b lkp2 y ... (7 Replies)
Hi,
I am trying to remove multi line and single line comments like examples below
I have tried this pattern. it works fine for single line comments and multi line comments in a single line only. but this fails when the comments are extended in multiple lines as shown in the comment 2 of... (3 Replies)
example of problem:
when I echo "$e" >> /home/cogiz/file.txt
result prints to file as:AA
BB
CC
I need it to save to file as this:AA BB CC
I know it's probably something really simple but any help would be greatly appreciated.
Thank You.
Cogiz (7 Replies)
I want to read the log file which was generate from other command . And the output was having multi line in log files for job name and server name. But i need to make all the logs on one line
Source file
07/15/2018 17:02:00 TRANSLOG_1700 Server0005_SQL ... (2 Replies)
Discussion started by: ranjancom2000
2 Replies
LEARN ABOUT HPUX
asa
asa(1) General Commands Manual asa(1)NAME
asa - interpret ASA carriage control characters
SYNOPSIS
[files]
DESCRIPTION
interprets the output of FORTRAN programs that utilize ASA carriage control characters. It processes either the files whose names are
given as arguments, or the standard input if is specified or if no file names are given. The first character of each line is assumed to be
a control character. The following control characters are interpreted as indicated:
(blank) Output a single new-line character before printing.
(space) (UNIX Standard only, see standards(5)) The rest of the line will be output without change.
A <newline> shall be output, then the rest of
the input line.
Output a new-page character before printing.
Overprint previous line.
(UNIX Standard only, see
standards(5)) The <newline> of the previous line shall be replaced with one or more implementation-defined characters that
causes printing to return to column position 1, followed by the rest of the input line. If the + is the first character in
the input, it shall have the same effect as <space>.
Lines beginning with other than the above characters are treated the same as lines beginning with a blank. The first character of a line
is printed. If any such lines appear, an appropriate diagnostic is sent to standard error. This program forces the first line of each
input file to start on a new page.
(UNIX Standard only, see standards(5)) The action of the asa utility is unspecified upon encountering any character other than those listed
above as the first character in a line.
To view the output of FORTRAN programs which use ASA carriage control characters and have them appear in normal form, can be used as a fil-
ter:
The output, properly formatted and paginated, is then directed to the line printer. FORTRAN output previously sent to a file can be viewed
on a user terminal screen by using:
EXTERNAL INFLUENCES
For information about the UNIX standard environment, see standards(5).
Environment Variables
determines the interpretation of text within file as single- and/or multi-byte characters.
determines the language in which messages are displayed.
If or is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty
variable. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of
If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See
environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
SEE ALSO efl(1), f77(1), ratfor(1), standards(5).
STANDARDS CONFORMANCE asa(1)