Sponsored Content
Full Discussion: line feed printing issue
Top Forums Shell Programming and Scripting line feed printing issue Post 302365559 by sherrod6970 on Tuesday 27th of October 2009 11:45:41 AM
Old 10-27-2009
line feed printing issue

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.

Code:
John doe 12435       1     232344     1
Jane doe 12435       1     424343     1

when should be like this

Code:
John doe 12435           232344     
Jane doe 12435           424343


Last edited by vgersh99; 10-27-2009 at 12:59 PM.. Reason: code tags, please!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file feed one line per argument

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)
Discussion started by: jpprial
10 Replies

2. Shell Programming and Scripting

need script-remove line feed

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)
Discussion started by: gowrish
1 Replies

3. Shell Programming and Scripting

replace last form feed with line feed

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)
Discussion started by: prvnrk
5 Replies

4. Shell Programming and Scripting

Get the 1st 99 characters and add new line feed at the end of the line

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)
Discussion started by: udelalv
3 Replies

5. Shell Programming and Scripting

awk remove line feed

Hi, I've this file: 1, 2, 3, 4, 5, 6, I need to remove the line feed LF every 3 row. 1,2,3, 4,5,6, Thanks in advance, Alfredo (5 Replies)
Discussion started by: alfreale
5 Replies

6. Shell Programming and Scripting

Want to remove a line feed depending on number of tabs in a line

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)
Discussion started by: user999991
1 Replies

7. Shell Programming and Scripting

awk issue splitting a fixed-width file containing line feed in data

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)
Discussion started by: pchang
8 Replies

8. Shell Programming and Scripting

Remove line feed in data

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

9. Shell Programming and Scripting

Getting an unexpected newline in my while loop line-by-line feed

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

10. Shell Programming and Scripting

Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly

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
pubsub(1)						    BSD General Commands Manual 						 pubsub(1)

NAME
pubsub -- Utility for managing RSS/Atom subscriptions via the PubSub framework SYNOPSIS
pubsub [--client bundleID] subcommand [parameters] OPTIONS
The available options are as follows: --client Force tool to act as one specific client ENVIRONMENT
The pubsub tool is a command-line utility for interacting with the PubSub framework. It is intended for troubleshooting, as a simple way to see at a glance all the feed subscriptions that the agent will be periodically fetching, and to delete any left-over subscriptions (for exam- ple, of an application that's been deleted.) If the --client flag is given, the tool will act only on the PubSub client with the given bundle ID. For example, pubsub list will list only the feeds that client is subscribed to. Some subcommands, such as subscribe, require a client to be specified. The following subcommands are supported. Note that some have multi-word names. If no subcommand is given, a short listing of their names will be output. list Lists all feeds (of all clients, or of the specific client if the -client flag is given.) The title, URL and refresh interval of each feed are shown. Note that a feed subscribed by multiple clients will be listed once per client, and that each client may specify a different refresh interval. However, the PubSub agent will only fetch one copy of the feed, at the minimum interval. The interval is listed in parentheses if it is inherited from the client's default refresh interval. The interval is followed by a " * " if the feed will be refreshed even when the client application is not currently running. The interval is followed by a " * " if file enclosures will automatically be downloaded. list clients Lists all registered clients by bundle ID, along with their number of subscriptions. list client bundleID Lists only the feeds subscribed to by the given client. unsubscribe URL Unsubscribes from the feed with the given URL. subscribe URL Subscribes the client (which must be specified using --client ) to the given feed. list URL Lists all entries currently stored for the given feed. dump URL Prints the raw XML of the feed, as it was last fetched from the network. list entry identifier Lists the attributes of an individual entry, given its identifier (a 40-char hex string). dump entry identifier Prints the XML of an entry, given its identifier (a 40-char hex string). refresh URL Fetches the feed from the network immediately, and updates the database if it has changed. listen [timestamp] Installs a PSClient delegate and listens for changes to subscribed feeds and entries, printing messages when they occur. If a time- stamp is given, all changes that have occurred since that time will first be printed. The timestamp is given as a number of seconds since the system "reference date", i.e. the same as the result of -[NSDate timeIntervalSinceReferenceDate]. list downloads Lists all enclosures currently being downloaded. list enclosures Lists all enclosures, and their current download status. FILES
~/Library/PubSub/ Per-user PubSub configuration/data directory EXAMPLES
pubsub list pubsub --client com.example.SurfNews subscribe http://example.com/UninterestingFeed.xml pubsub unsubscribe http://example.com/UninterestingFeed.xml Mac OS X 10.5 February 1, 2007 Mac OS X 10.5
All times are GMT -4. The time now is 01:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy