Sponsored Content
Top Forums UNIX for Dummies Questions & Answers convert 1012345601 to $10,123,456.01 Post 302185607 by tjmannonline on Tuesday 15th of April 2008 11:43:11 AM
Old 04-15-2008
thanks. you guys are AWSOME!
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

to make 1 2 3 into 123

suppose u have a file ABC ADFA AFAF AGBA AHHAH AJJA AJKA AJAJ AJAJA AJAJAJ AHAB AAAJ AJAJA AKK AJAJAA means gaps have to replaced and see also there will be gaps so output shud be ABCADFAAFAFAGBAAHHAHAJJAAJKAAJAJAJAJAAJAJAJAHABAAAJJAJAAKKAJAJAA Thanks (2 Replies)
Discussion started by: cdfd123
2 Replies

2. Shell Programming and Scripting

Increment ABC-123 by 1!!

in a shell script, i hav a variable declared as "ABC-123". i want to incriment th value ABC-123 by 1 so that the result will be ABC-124. Can anyone suggest a solution in shell scripting.. (4 Replies)
Discussion started by: pgmfourms
4 Replies

3. Shell Programming and Scripting

How to grep a pattern having value greater than 123 in a file?

Hi, I have a dynamically growing ascii file which has large data (both text and digits). I need to grep those lines having value greater than '123'. These numeric values may appear at anywhere in the line, hence I could not use awk to split to columns. So, please help me with the grep regular... (12 Replies)
Discussion started by: royalibrahim
12 Replies
Text::Lorem(3pm)					User Contributed Perl Documentation					  Text::Lorem(3pm)

NAME
Text::Lorem - Generate random Latin looking text SYNOPSIS
use Text::Lorem; my $text = Text::Lorem->new(); # Generate a string of text with 5 words $words = $text->words(5); # Generate a string of text with 2 sentences $sentences = $text->sentences(2); # Generate 3 paragraphs $paragraphs = $text->paragraphs(3); DESCRIPTION
Often when developing a website or other application it's important to have placeholders for content. This module generates prescribed amounts of fake Latin text. CONSTRUCTOR
"new()" The default constructor, "new()" takes no arguments and returns a Text::Lorem object. METHODS
"words( INTEGER )" Returns INTEGER fake Latin words. "sentences( INTEGER )" Returns INTEGER sentences in fake Latin. "paragraphs( INTEGER )" Returns INTEGER paragraphs of fake Latin text. THANKS
Thanks to the guys who pushed me off the cliff called comfort and into the scary world of Perl: James Duncan, Leon Brocard. AUTHOR
Adeola Awoyemi (adeola@fotango.com) SEE ALSO
L<WWW::Lipsum> and L<http://lipsum.com/> COPYRIGHT
Copyright 2003 Fotango Ltd. All rights reserved. <http://opensource.fotango.com/> This software is released under the same license as Perl itself. perl v5.10.1 2011-01-05 Text::Lorem(3pm)
All times are GMT -4. The time now is 03:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy