Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Eliminating CR (new lines) from a file. Post 302281482 by KornFire on Thursday 29th of January 2009 02:34:08 AM
Old 01-29-2009
hi,
I'm looking for a command with which i can change double or repeated (Unix) new line to single new line.
Thanks,
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

UrgentPlease: compare 1 value with file values eliminating special characters

Hi All, I have file i have values like ---- 112 113 109 112 109 I have another file cat supplierDetails.txt ------------------------- 112|MIMUS|krishnaveni@google.com 113|MIMIRE|krishnaveni@google.com 114|MIMCHN|krishnaveni@google.com 115|CEL|krishnaveni@google.com... (10 Replies)
Discussion started by: kittusri9
10 Replies

2. Shell Programming and Scripting

Eliminating duplicates from the who command

I am trying to show how many users are logged into one of my systems. Using who -q it gives me a user count, but some users are logged in multiple times. Is there any easy parameter that I can use to ignore/eliminate these duplicates?? Thanks (9 Replies)
Discussion started by: mikejreading
9 Replies

3. Shell Programming and Scripting

Eliminating output?

Hi Folks, I am writting a shell script for general purpose use.... i have created a function like below:- largest_file() { clear tput cup 20 30 echo please enter the full directory path where you want to search:- tput cup 21 30 read lr_choice1 tput cup 22 30 echo please... (3 Replies)
Discussion started by: rpraharaj84
3 Replies

4. Shell Programming and Scripting

After eliminating then save as a string

Hello, I am using HP-UX B.11.23 U ia64 2591592275 unlimited-user license I am trying to write a sh script on my own system to pass string of word as one parameter The format of the string will be the same But the content after : will be changed each time If you manage to have this as $*... (7 Replies)
Discussion started by: fahad.m
7 Replies

5. Programming

Eliminating a row from a file....

I have a file like 1 0 2 0 3 1 3 0 4 0 6 1 6 0 . . . . . . i need to eliminate values 3 0 and 6 0 in the same way there are such values in the whole file....but 3 1 and 6 1 shuld be present... (2 Replies)
Discussion started by: kamuju
2 Replies

6. Shell Programming and Scripting

Eliminating differences in two files

Hello, I'm having trouble to read two txt files, they have employee records line by line, I need to do the reading of a file that is old and compare it with the new base in the new file, deleting the lines in old file, then add the new file data from the old file and write to the database manager.... (5 Replies)
Discussion started by: selmar
5 Replies

7. Shell Programming and Scripting

First zero is eliminating in the awk command

I am using something like this in my code nawk 'BEGIN{OFS=FS="|"} {$15='$CalaMig'} {print}' filename actually value of $CalaMig=01234 But its replacing as 1234 in the 15th postion.Its not taking the first zero. can some one help here (1 Reply)
Discussion started by: saj
1 Replies

8. Shell Programming and Scripting

Eliminating words from a file through ngrams stored in another file

Hello, I have a large data file which contains a huge amount of garbage i.e. words which do not exist in the language. An example will make this clear: kpaware nlupset rrrbring In other words these words are invalid in English and constitute garbage in the data. I have identified such... (2 Replies)
Discussion started by: gimley
2 Replies

9. Shell Programming and Scripting

Eliminating duplicate lines

Hello, I am trying to eliminate lines where column #1 is duplicated. If it is a duplicate, the line with the greater value in column #2 should be deleted: file.dat 123 45.34 345 67.22 949 36.55 123 94.23 888 22.33 345 32.56 Desired ouput 123 45.34 949 36.55 888 22.33 345 32.56... (4 Replies)
Discussion started by: palex
4 Replies

10. Shell Programming and Scripting

Eliminating duplicate lines via specified number of digits

Hello, This is similar to a previous post, where I was trying to eliminate lines where column #1 is duplicated. If it is a duplicate, the line with the greater value in column #2 should be deleted. In this new case, I need to test duplication with the first three digits in column #1 (ignoring the... (6 Replies)
Discussion started by: palex
6 Replies
Pango::Cairo(3pm)					User Contributed Perl Documentation					 Pango::Cairo(3pm)

NAME
Pango::Cairo - Pango rendering with the Cairo backend METHODS
layout = Pango::Cairo::create_layout ($cr) o $cr (Cairo::Context) Pango::Cairo::error_underline_path ($cr, $x, $y, $width, $height) o $cr (Cairo::Context) o $x (double) o $y (double) o $width (double) o $height (double) Since: pango 1.14 Pango::Cairo::glyph_string_path ($cr, $font, $glyphs) o $cr (Cairo::Context) o $font (Pango::Font) o $glyphs (Pango::GlyphString) Pango::Cairo::layout_line_path ($cr, $line) o $cr (Cairo::Context) o $line (Pango::LayoutLine) Pango::Cairo::layout_path ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) Pango::Cairo::show_error_underline ($cr, $x, $y, $width, $height) o $cr (Cairo::Context) o $x (double) o $y (double) o $width (double) o $height (double) Since: pango 1.14 Pango::Cairo::show_glyph_string ($cr, $font, $glyphs) o $cr (Cairo::Context) o $font (Pango::Font) o $glyphs (Pango::GlyphString) Pango::Cairo::show_layout ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) Pango::Cairo::show_layout_line ($cr, $line) o $cr (Cairo::Context) o $line (Pango::LayoutLine) Pango::Cairo::update_context ($cr, $context) o $cr (Cairo::Context) o $context (Pango::Context) Pango::Cairo::update_layout ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) SEE ALSO
Pango COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.14.2 2011-11-15 Pango::Cairo(3pm)
All times are GMT -4. The time now is 06:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy