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)
Hi
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.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Hi All,
I have a xml file and requirement is to remove the line feed and add line feed after some element.
<?xml version="1.0" ?>
<AUDITRECORDS>
<CARF>
<HED>
<VN1>20090616010622</VN1>
<VN2>0</VN2>
<VN3>1090</VN3>
<VN4>CONFIG_DATA</VN4>
... (8 Replies)
Hi All,
i have a csv file .
In the 7th column i have data that has line feed in it.
Requirement is to remove the line feed from the 7th column whenever it appears
There are 11 columns in the file
C1,C2,C3,C4,C5,C6,C7,C8,C9,C10,C11
The value in C7 contains line feed ( Alt + Enter ),... (2 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)
Hi! I have been struggling with a large file that has stray end of line characters.
I am working on a Mac (Lion). I mention this only because I have been mucking around with fixing my problem using sed, and I have learned far more than I wanted to know about Unix and Mac eol characters.
I... (1 Reply)
Hi Forum.
I have the following script that splits a large fixed-width file into smaller multiple fixed-width files based on input segment type.
The main command in the script is:
awk -v search_col_pos=$search_col_pos -v search_str_len=$search_str_len -v segment_type="$segment_type"... (8 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,
Can someone please share a Simple AWK command to append Carriage Return & Line Feed to the end of the file, If the Carriage Return & Line Feed does not exist !
Thanks (16 Replies)
Discussion started by: rosebud123
16 Replies
LEARN ABOUT DEBIAN
wiki::toolkit::feed::listing
Wiki::Toolkit::Feed::Listing(3pm) User Contributed Perl Documentation Wiki::Toolkit::Feed::Listing(3pm)NAME
Wiki::Toolkit::Feed::Listing - parent class for Feeds from Wiki::Toolkit.
DESCRIPTION
Handles common data fetching tasks, so that child classes need only worry about formatting the feeds.
Also enforces some common methods that must be implemented.
METHODS
"fetch_recently_changed_nodes"
Based on the supplied criteria, fetch a list of the recently changed nodes
"fetch_newest_for_recently_changed"
Based on the supplied criteria (but not using all of those used by fetch_recently_changed_nodes), find the newest node from the recently
changed nodes set. Normally used for dating the whole of a Feed.
"fetch_node_all_versions"
For a given node (name or ID), return all the versions there have been, including all metadata required for it to go into a "recent
changes" style listing.
"recent_changes"
Build an Atom Feed of the recent changes to the Wiki::Toolkit instance, using any supplied parameters to narrow the results.
If the argument "also_return_timestamp" is supplied, it will return an array of the feed, and the feed timestamp. Otherwise it just returns
the feed.
"node_all_versions"
Build an Atom Feed of all the different versions of a given node.
If the argument "also_return_timestamp" is supplied, it will return an array of the feed, and the feed timestamp. Otherwise it just returns
the feed.
"format_geo"
Using the geo and space xml namespaces, format the supplied node metadata into geo: and space: tags, suitable for inclusion in a feed with
those namespaces imported.
The following are methods that any feed renderer must provide:
"feed_timestamp"
All implementing feed renderers must implement a method to produce a feed specific timestamp, based on the supplied node
"generate_node_list_feed"
All implementing feed renderers must implement a method to produce a feed from the supplied list of nodes
"generate_node_name_distance_feed"
All implementing feed renderers must implement a method to produce a stripped down feed from the supplied list of node names, and
optionally locations and distance from a reference point.
"parse_feed_timestamp"
Take a feed_timestamp and return a Time::Piece object.
MAINTAINER
The Wiki::Toolkit team, http://www.wiki-toolkit.org/.
COPYRIGHT AND LICENSE
Copyright 2006-2009 the Wiki::Toolkit team.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-09-25 Wiki::Toolkit::Feed::Listing(3pm)