Hi Guys,
I am new to awk and sed, i am working multiline document, i want to make make that document into SINGLE lines based on occurace of string "dwh".
here's the sample of my problem..
dwh123 2563 4562 4236 1236 78956 12394 4552 dwh192 2656 46536 231326 65652 6565 23262 16625623... (5 Replies)
Hello
I need to search for a mult-line strngs(with spaces in between and qoted) in a file1 and replace that text with Fixed string globally in file1. The strng to search for is in file2.
The file is big with some 20K records. so speed and effciency is required
file1: (where srch & rplc will... (7 Replies)
Hi,
I have a file with text like this
.SET WIDTH 10000
.SET MAXERROR 1
insert into new_db
SELECT
*
FROM
some_db
;
+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+-
.SET WIDTH 10000... (3 Replies)
Hi,
I have a log file which has sessionids in it, each block in the log starts with a date entry, a block may be a single line or multiple lines. I need to sed (or awk) out the lines/blocks with that start with a date and include the session id.
The files are large at several Gb.
My... (3 Replies)
Dear Unix Forums,
I am hoping you can help me with a pattern matching problem.
What am I trying to do?
I want to replace multiple lines of a text file (that match a multi-line pattern) with a single line of text. These patterns can span several lines and do not always have the same number of... (10 Replies)
Hi
I have some data in a file as below
******************************
Class 1A
Students absent are :
1. ABC
2. CDE
3. CPE
******************************
Class 2A
Students absent are :
******************************
Class 3A
Students absent are : (6 Replies)
I've a file like this
{multi line
.......
.......
pattern}
{
some other stuff
.........
}
{multi line
.......
.......
pattern}
{
some other stuff
.........
}
and so on (2 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)
The following is a multi-line shell command example:
$cargo build
Compiling prawn v0.1.0 (/Users/ag/rust/prawn)
error: failed to resolve: could not find `setup_panix` in `human_panic`
--> src/main.rs:14:22
|
14 | human_panic::setup_panix!();
| ... (2 Replies)
Discussion started by: yogi
2 Replies
LEARN ABOUT DEBIAN
byzanz-record
BYZANZ-RECORD(1) General Commands Manual BYZANZ-RECORD(1)NAME
byzanz-record - record your desktop session to an animated GIF
SYNOPSIS
byzanz-record [options] FILENAME
DESCRIPTION
Byzanz records your desktop session to an animated GIF. You can record your entire screen, a single window, or an arbitrary region.
byzanz-record allows you to make recordings from the command line. Graphical users may want to use the panel applet instead.
OPTIONS
Application Options:
-d, --duration=SECS
Duration of animation (default: 10 seconds)
--delay=SECS
Delay before start (default: 1 second)
-c, --cursor
Record mouse cursor
-a, --audio
Record audio from the default input device. This only works if the output format supports it and will otherwise cause an error.
-x, --x=PIXEL
X coordinate of rectangle to record
-y, --y=PIXEL
Y coordinate of rectangle to record
-w, --width=PIXEL
Width of recording rectangle
-h, --height=PIXEL
Height of recording rectangle
-v, --verbose
Be verbose
--display=DISPLAY
X display to use
Help Options:
-?, --help
Show help options
--help-gtk
Show GTK+ Options
--help-all
Show all help options
OUTPUT FILE
After byzanz-record is finished, the recording is written to FILENAME. The format is determined by the filename extension. The following
formats are supported:
gif Record to an animated GIF image. Use this if you want to record a mostly static screen with a limited amount of colors, such as
using a file manager or an office application. This is the default and will be used if an unrecognized extension is used.
ogg, ogv
Record to an Ogg Theora video. This format supports audio. Use this if you want to record dynamic contents, such as video playback.
flv Record to a Flash Screen video. This recording method is lossless. Use it if you want to postprocess the file in other applications.
byzanz Record to Byzanz' internal debugging format. This is useful for benchmarking Byzanz or if you want to convert the recording to mul-
tiple formats later. You can use byzanz-playback(1) to convert the file.
SEE ALSO byzanz-playback(1)AUTHOR
Byzanz was written by Benjamin Otte <otte@gnome.org>.
This manual page was last updated for version 0.2.1.
BYZANZ-RECORD(1)