what am trying to do is delete a line in a specific file but I dont know what to do. I cant use the sed or awk commands because these commands dont really alter the original file. they only alter what they display on the screen
by the way, am trying to do this from a script so if anybody can... (5 Replies)
I have a file which has about 500K records and I need to delete about 50 records from the file. I know line numbers and am using
sed '13456,13457,......d' filename > new file.
It does not seem to be working.
Any help will greatly appreciated. (5 Replies)
Input:
a
b
b
c
d
d
I need:
a
c
I know how to get this (the lines that have duplicates) :
b
d
sort file | uniq -d
But i need opossite of this. I have searched the forum and other places as well, but have found solution for everything except this variant of the problem. (3 Replies)
Hi All,
I have a very huge file (4GB) which has duplicate lines. I want to delete duplicate lines leaving unique lines. Sort, uniq, awk '!x++' are not working as its running out of buffer space.
I dont know if this works : I want to read each line of the File in a For Loop, and want to... (16 Replies)
Hello,
I have file of more than 10000 lines.
I want to delete 40 lines after every 20 lines.
e.g from a huge file, i want to delete line no from 34 - 74, then 94 - 134 etc and so on.
Please let me know how i can do it.
Best regards, (11 Replies)
Hi,
I have a txt document having a format like this:
DATA1 | DATA2 | DATA3 | 23-JAN-20 23:41:34
DATA1 | DATA2 | DATA3 | 23-JAN-20 23:41:32
DATA1 | DATA2 | DATA3 | 23-JAN-20 23:41:30
...
DATA1 | DATA2 | DATA3 | 23-JAN-20 22:35:31
DATA1 | DATA2 | DATA3 | 23-JAN-20 22:30:34
DATA1 | DATA2 |... (1 Reply)
Discussion started by: gc_sw
1 Replies
LEARN ABOUT LINUX
wxprintdialog
wxPrintDialog(3erl) Erlang Module Definition wxPrintDialog(3erl)NAME
wxPrintDialog - See external documentation: wxPrintDialog.
DESCRIPTION
See external documentation: wxPrintDialog .
This class is derived (and can use functions) from:
wxDialog
wxTopLevelWindow
wxWindow
wxEvtHandler
DATA TYPES
wxPrintDialog() :
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc
or distributed for use on other nodes.
EXPORTS
new(Parent::wxWindow() (see module wxWindow)) -> wxPrintDialog()
Equivalent to new(Parent, []) .
new(Parent::wxWindow() (see module wxWindow), X::term()) -> wxPrintDialog()
See external documentation .
Alternatives:
new(Parent::wxWindow:wxWindow(), [Option]) -> wxPrintDialog()
Option = {data, wxPrintDialogData:wxPrintDialogData()}
new(Parent::wxWindow:wxWindow(), Data::wxPrintData:wxPrintData()) -> wxPrintDialog()
getPrintDialogData(This::wxPrintDialog()) -> wxPrintDialogData() (see module wxPrintDialogData)
See external documentation .
getPrintDC(This::wxPrintDialog()) -> wxDC() (see module wxDC)
See external documentation .
destroy(This::wxPrintDialog()) -> ok
Destroys this object, do not use object again
AUTHORS
<>
wxErlang 0.98.9 wxPrintDialog(3erl)