I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
What tools can I use to accomplish this?
I'm writing a shell script to analyze an inittab file. Here's a sample file:
init:3:initdefault:
ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1
tape::sysinit:/sbin/mtinit > /dev/console 2>&1
muxi::sysinit:/sbin/dasetup </dev/console >/dev/console... (10 Replies)
Hi,
I've a text file that has a formfeed character at the beginning.
I want to get rid of this formfeed character using sed.
But I don't know how to specify the formfeed character.
I've tried \014 (octal for formfeed), \f but still not works.
Regards,
Johnny (5 Replies)
I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
hi all,
i have csv file with three comma separated columns
i/p file
First_Name, Address, Last_Name
XXX, "456 New albany \n newyork, Unitedstates \n 45322-33", YYY\n
ZZZ, "654 rifle park \n toronto, canada \n 43L-w3b", RRR\n
is there any way i can remove \n (newline) from the second... (1 Reply)
I am have an issue with the carrige or line feed chars showing up on info converted to a pdf file from a Orcale tool. Any direction would be appericated.
ex.
John doe 12435 1 232344 1
Jane doe 12435 1 424343 1
when should be like this
John doe... (1 Reply)
Hi,
I am new to printing with Unix (AIX on HP).
I am printing from a COBOL program.
On our test system the page prints and does a Form Feed to the next page. This is good.
When I release the program to our customer it prints the page but waits 5 or more seconds before doing a page... (11 Replies)
Hello all,
I have data like
"1"|"My_name"|"My_Email"|"My_Last"|My_other"
"2"|"My_name"|"My_Email"|"My_Last"|My_other"
"3"|"My_name"|"My_Email"|"
"|My_other"
"1"|"My_name"|"My_Email"|"My_Last"|My_other"
Need output like
"1"|"My_name"|"My_Email"|"My_Last"|My_other"... (10 Replies)
Please use code tags for sample data
Hi
I have a file where there are line feeds in the data. I am not able to read the file from an application. I exported this data from Access database and many columns contain line feed.
My data looks like this
abcd,efgh,ijkl,mnop
abcd,ef... (7 Replies)
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
LEARN ABOUT DEBIAN
feed::find
Feed::Find(3pm) User Contributed Perl Documentation Feed::Find(3pm)NAME
Feed::Find - Syndication feed auto-discovery
SYNOPSIS
use Feed::Find;
my @feeds = Feed::Find->find('http://example.com/');
DESCRIPTION
Feed::Find implements feed auto-discovery for finding syndication feeds, given a URI. It (currently) passes all of the auto-discovery tests
at http://diveintomark.org/tests/client/autodiscovery/.
Feed::Find will discover the following feed formats:
o RSS 0.91
o RSS 1.0
o RSS 2.0
o Atom
USAGE
Feed::Find->find($uri)
Given a URI $uri, use a variety of techniques to find the feeds associated with that page. If $uri itself points to a feed (i.e., if the
Content-Type of the response is a recognized feed type), returns $uri.
Returns a list of feed URIs.
The following techniques are used:
1. <link> tag auto-discovery
If the page contains any <link> tags in the <head> section, these tags are examined for recognized feed content types. The following
content types are treated as feeds: application/x.atom+xml, application/atom+xml, application/xml, text/xml, application/rss+xml, and
application/rdf+xml.
2. Scanning <a> tags
If the page does not contain any known <link> tags, the page is then scanned for <a> tags for links to URIs with certain file
extensions. The following extensions are treated as feeds: .rss, .xml, and .rdf.
Note that this technique is employed only if the first technique returns no results.
Feed::Find->find_in_html($html [, $base_uri ])
Given a reference to a string $html containing an HTML page, uses the same techniques as described above in find to find the feeds
associated with that page.
If you know the URI of the page, you should provide it in $base_uri, so that relative links can be properly made absolute. Feed::Find will
attempt to determine the correct base URI, but unless that URI is specified in the HTML itself (in a "<meta>" tag), you'll need to supply
it yourself.
Returns a list of feed URIs.
LICENSE
Feed::Find is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR & COPYRIGHT
Except where otherwise noted, Feed::Find is Copyright 2004 Benjamin Trott, ben+cpan@stupidfool.org. All rights reserved.
perl v5.10.1 2011-01-28 Feed::Find(3pm)