hi all,
i have a file contain multicolumns, this file is sorted by col2 and col3.
i want to remove the duplicated columns if the col2 and col3 are the same in another line.
example
fileA
AA BB CC DD
CC XX CC DD
BB CC ZZ FF
DD FF HH HH
the output is
AA BB CC DD
BB CC ZZ FF... (6 Replies)
Hi guys,
i have a big file with the following format.This includes header(H),detail(D) and trailer(T) information in the file.My problem is i have to search for the character "6h" at 14 th and 15 th position in all the records .if it is there i have to write all those records into a... (1 Reply)
Hi
I have an xml file which has multiple xml records..
I don't know how to read those records and pipe them to another shell command
the file is like
<abc>z<def>y<ghi>x........</ghi></def></abc> (1st record)
<jkl>z<mno>y<pqr>x........</pqr></mno></jkl> (2nd record)
Each record end... (4 Replies)
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
find pattern, delete line with pattern and 3 lines above and 8 lines below the pattern. The pattern is "isup". The entire record with starting tag <record> and ending tag </record> containing the pattern is to be deleted and the rest to be retained.
<record>
... (4 Replies)
Dear all,
How can I remove duplicated column in a text file?
Input:
LG10_PM_map_19_LEnd 1000560 G AA AA AA AA AA GG
LG10_PM_map_19_LEnd 1005621 G GG GG GG AA AA GG
LG10_PM_map_19_LEnd 1011214 A AA AA AA AA GG GG
LG10_PM_map_19_LEnd 1011673 T TT TT TT TT CC CC... (1 Reply)
Hi Gurus,
I need to remove duplicate line in file and update TRAILER (last line) record count. the file is comma delimited, field 2 is key to identify duplicated record.
I can use below command to remove duplicated. but don't know how to replace last line 2nd field to new count.
awk -F","... (11 Replies)
Discussion started by: green_k
11 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)