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)
Aloha! I have just over 1k of users that have permissions that they shouldn't under our system. I need to parse a provided list of usernames, check their permissions file, and strip the permissions that they are not allowed to have. If upon the permissions strip they are left with no permissions,... (6 Replies)
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)
I have a base file FILE1 with the following data
FILE1.dat
21111111110001343 000001004OLFXXX029100020091112
21111111110000060 000001004ODL-CH001000020091112
22222222220000780 000001013OLFXXX006500020091112
23333333330001695 000001039OLFXXX030600020091112
23333333330000111... (2 Replies)
I have a file with varying record length in it. I need to reformat this file so that each line will have a length of 100 characters (99 characters + the line feed).
AU * A01 EXPENSE 6990370000 CWF SUBC TRAVEL & MISC
MY * A02 RESALE 6990788000 Y... (3 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)
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)
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)
Discussion started by: dnat
7 Replies
LEARN ABOUT DEBIAN
r2e
R2E(1) General Commands Manual R2E(1)NAME
r2e - receive RSS feeds by email
SYNOPSIS
r2e [-d dir] action [options]
DESCRIPTION
r2e is a simple program which you can run in your crontab. It watches RSS feeds and sends you nicely formatted email message for each new
item.
The program is configured by ~/.rss2email/config.py by default. To use a different config file in a different directory, you can specify
the -d option before any actions.
For a quick start with r2e, try these steps:
r2e new your@address
r2e add http://feed.url/somewhere.rss
r2e run
The last command should eventually be put into your crontab, if you
want things be sent you automatically.
It is possible to use authenticated feeds using the following syntax:
r2e add http://user:password@example.com/feed
ACTIONS
new [youremail]
Create a new feedfile. If the second option is specified, it sets the default email address that mails are sent to.
add url [youremail]
Subscribe to a feed. The first option is the URL of the feed. The optional second option is the email address to send new items to.
Repeat for each feed you want to subscribe to.
run [--no-send] [num]
Scan the feeds and send emails for new items. This can be run in a cron job.
The --no-send option stops r2e from sending any email. This can be useful the first time you run it, as otherwise it would send every
available story.
If a number is specified, r2e will only download that feed. The list command lists the feed numbers.
email yournewemail
Change the default email address.
list List all your currently subscribed feeds.
delete n
Delete a feed, using its number from the list command.
pause n
Temporarily ignore a feed. A paused feed won't be updated at all.
unpause n
Re-enable updates from a feed.
opmlimport url
Import feeds from an OPML file.
opmlexport
Export feeds to standard output, as an OPML file.
CONFIGURATION
The program's behavior can be controlled via the ~/.rss2email/config.py config file. The file is a python file, so variables are set using
a syntax like this: VARIABLE = "value"
If the value is a number, the quotes may be omitted. Most configuration variables in the file are boolean values, where a 1 indicates the
option is set, and a 0 disables it.
See the example config.py file for a full list of available configuration variables.
FILES
~/.rss2email/feeds.dat
The database of feeds. Use r2e to add, remove, or modify feeds, do not edit it directly.
~/.rss2email/config.py
If this file exists, it it read to configure the program.
AUTHOR
Aaron Swartz <rss2email@aaronsw.com>
R2E(1)