10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
07/15/2018 17:02:00 TRANSLOG_1700 Server0005_SQL ... (2 Replies)
Discussion started by: ranjancom2000
2. Shell Programming and Scripting
Desired Output File
>Seq2 (4 Replies)
Discussion started by: patrick87
3. UNIX for Beginners Questions & Answers
example of problem:
when I echo "$e" >> /home/cogiz/file.txt
result prints to file as:AA
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.
Cogiz (7 Replies)
Discussion started by: cogiz
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: ahmedwaseem2000
5. Shell Programming and Scripting
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)
Discussion started by: gvk25
6. Shell Programming and Scripting
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)
Discussion started by: flagman5
7. Shell Programming and Scripting
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
cc; (5 Replies)
Discussion started by: happyday
8. Shell Programming and Scripting
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.
BAM admin 184.108.40.206 ... (3 Replies)
Discussion started by: happyday
9. Shell Programming and Scripting
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)
Discussion started by: mitch
10. Shell Programming and Scripting
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)
Discussion started by: djsal
UNROFF(1) General Commands Manual UNROFF(1)
unroff - convert troff documents to plain text
unroff [ -E ] [ -J ] [ -8 ] [ -mxx ] [ file ... ]
unroff processes documents written to be formatted with troff (or nroff, or any of the other *roff variants) and converts them to plain
text. This is similar to what deroff does, but the result is sometimes better than deroff output.
Optional flags may be given to modify the operation of unroff, as follows:
-E Echo input tokens as they are read. Useful mainly for debugging.
-J Join output lines that would be part of a single paragraph so they form a single output line. This is useful if you plan to move
the resulting output into a document formatter that treats paragraphs as a single line. The default is to do line wrapping accord-
ing to the line length specified in the input document.
-8 Write 8-bit ISO Latin-1 (ISO 8859-1) characters. This option may be useful for producing output intended to be viewed on devices
capable of 8-bit character display. Without this option, 8-bit Latin-1 characters will generall appear in the output as
``[[name]]'' where ``name'' is the troffcvt internal name for the character, e.g., ``[[Aacute]]''. For some of these characters, an
ASCII approximation will be used if something reasonably close is available.
-mxx Specify macro package, usually -man, -me, -mm, or -ms.
line length clipped to nnn chars. A very long line length was requested, so long that it would likely result in output line assembly buf-
fer overflow. The length is clipped to prevent this.
output buffer capacity exceeded. This means some line is so long that it couldn't be collected in the output line assembly buffer. Most
likely this signals a bug in tc2text, since the length is supposed to be kept within reasonable bounds (see previous paragraph).
Paul DuBois, email@example.com.
unroff doesn't do so well with tables, particularly tables with multiple-line cells. Table centering isn't handled.