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
I want the data as
I am thinking of looping through every line until it reaches the count of delimiter(in this case 3) and remove the line feed.
Can anyone help me out!!
Last edited by jim mcnamara; 05-16-2018 at 08:47 PM..
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)
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)
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)
Hi,
I'm trying to get a line returned as is from the below input.csv file in Bash in Linux, and somehow I get an unexpected newline in the middle of my input.
Here's a sample line in input.csv
$> more input.csv
TEST_SYSTEM,DUMMY@GMAIL.COM|JULIA H|BROWN
And here's a very basic while loop... (7 Replies)
Discussion started by: ChicagoBlues
7 Replies
LEARN ABOUT DEBIAN
rawdog
RAWDOG(1) General Commands Manual RAWDOG(1)NAME
rawdog - an RSS Aggregator Without Delusions Of Grandeur
SYNOPSIS
rawdog [options]
DESCRIPTION
This manual page briefly documents the rawdog command.
rawdog is an RSS (and other) feed aggregator, based on Mark Pilgrim's flexible feed parser. rawdog reads articles from a number of feeds
and writes out a single HTML file, based on a template either provided by the user or generated by rawdog, containing the latest articles
it's seen.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below. For a complete description, see the README file.
-u, --update
Fetch data from the feeds and store it. This could take some time if you've got lots of feeds.
-w, --write
Write out the HTML output file.
-f SOMEURL, --update-feed SOMEURL
Update the feed pointed to by SOMEURL immediately, even if its period hasn't elapsed since it was last updated.
-c FILE, --config FILE
Read FILE as an additional config file; any options provided in FILE will override those set in the main config file (with the
exception of "feed", which is cumulative). FILE may be an absolute path or a path relative to your .rawdog directory. Note that
$HOME/.rawdog/config will still be read first even if you specify this option.
-t, --show-template
Print the template currently in use to stdout.
-a URL, --add URL
Add a new feed to the config file.
-d DIR, --dir DIR
Use DIR instead of the $HOME/.rawdog directory.
--help Provide a brief summary of all the options rawdog supports, and exit.
FILES
$HOME/.rawdog/config
SEE ALSO cron(1).
AUTHOR
rawdog was written by Adam Sampson <azz@us-lot.org>.
This manual page was written by Decklin Foster <decklin@red-bean.com>, for the Debian project (but may be used by others).
RAWDOG(1)