I have a text file, a sample of which is as follows:
r/- * 0: WINDOWS/Microsoft.NET/Framework/v2.0.50727/ASP.NETWebAdminFiles/Images/headerGRADIENT_Tall.gif
r/- * 0: WINDOWS/SoftwareDistribution/Download/cf8ec753e88561d2ddb53e183dc05c3e/backoff.jpg
r/- * 0: ... (2 Replies)
I have a script that if it crashes I want it to start again where it stopped.
The way to identify the tasklist is using a find command that list all the files that need the process performed on them
TASKLIST=`find /path/to/directory -iname *.dummy | sort`
The way to identify the... (6 Replies)
I have a file with the below format,
GS*8*****
ST*1********
A*
B*
E*
RMR*123455(This is the unique number to locate this row)
F*
SE*1***
GE**
GS*9*****
ST*2
H*
J*
RMR*567889(This is the unique number to locate this row)
L*
SE*
GE***** (16 Replies)
Sample file:
This is line one,
this is another line,
this is the PRIMARY INDEX line
l ;
This is another line
The command should find the line with “PRIMARY INDEX” and remove the last character from the line preceding it (in this case , comma) and remove the first character from the line... (5 Replies)
I have a very large file (over 700 million lines) that has some lines that I need to delete. An example of 5 lines of the file:
HS4_80:8:2303:19153:193032 153 k80:138891
HS4_80:8:2105:5544:43174 89 k88:81949
165 k88:81949 323 0 * = 323 0 ... (6 Replies)
Hi, i need help with my shell script
I have a file input.txt containing the following contents
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/wine
/usr/share/doc/wine/copyright
/usr/share/doc/wine/changelog.Debian.gz
I need output as
/usr/share/doc/wine
/usr/share/doc/wine/copyright... (3 Replies)
Hi ,
i have a file with data as below.This is same file. But actual file contains to many rows.
i want to search for a string "Field 039 00" and delete that line and previous 3 lines in that file.. Can some body suggested me how can i do using either sed or awk command ?
Field 004... (7 Replies)
There are many matching blocks of text in one file that need to be deleted. This example below is one block that needs to be either deleted or replaced with an empty line.
This text below is the input file. The ouput file should be empty
Searching Checks. Based on search criteria
name: Value :... (2 Replies)
Hi, In my previous post ( How to print lines from a files with specific start and end patterns and pick only the last lines? ), i have got a help to get the last select statement from a file, now i need to remove/exclude the output from main file:
Input File format:
SELECT
ABCD,
DEFGH,... (2 Replies)
Discussion started by: nani2019
2 Replies
LEARN ABOUT OSX
mac::aete::app
Mac::AETE::App(3) User Contributed Perl Documentation Mac::AETE::App(3)NAME
Mac::AETE::App - reads the Macintosh Apple event dictionary from an application.
SYNOPSIS
use Mac::AETE::App;
use Mac::AETE::Format::Dictionary;
$app = App->new("My Application");
$formatter = Dictionary->new;
$app->set_format($formatter);
$app->read;
$app->write;
DESCRIPTION
The App module simplifies reading the Apple event dictionary from an application. It will launch the application if necessary to obtain
the dictionary.
Methods
new Example: ($name is the name of the application.)
use Mac::AETE::App;
use Mac::AETE::Format::Dictionary;
$app = App->new($aete_handle, $name);
read (Inherited from Mac::AETE::Parser.)
Reads the data contained in the AETE resource or handle. Example:
$app->read;
set_format
(Inherited from Mac::AETE::Parser.)
Sets the output formatter used during by the 'write' subroutine. Example:
$formatter = Dictionary->new;
$app->set_format($formatter);
copy (Inherited from Mac::AETE::Parser.)
Copies all suites from one Parser object into another. Example:
$aete2 = Parser->new($aete_handle2, $another_name);
$app->copy($aete2);
copies the suites from $aete2 into $aete.
merge (Inherited from Mac::AETE::Parser.)
Merges suites from one Parser object into another. Only the suites that exist in both objects will be replaced. Example:
$aete3 = Parser->new($aete_handle2, $another_name);
$app->merge($aete3);
write (Inherited from Mac::AETE::Parser.)
Prints the contents of the AETE or AEUT resource using the current formatter.
$app->write;
INHERITANCE
Inherits from Mac::AETE::Parser.
AUTHOR
David Schooley <dcschooley@mediaone.net>
perl v5.10.0 2005-05-16 Mac::AETE::App(3)