Sponsored Content
Full Discussion: Need Help!!!
Top Forums Shell Programming and Scripting Need Help!!! Post 302177383 by raghav1982 on Thursday 20th of March 2008 10:56:21 PM
Old 03-20-2008
Ok sure ..

sed '
/'$fld1'/ i\
Name' temp.txt > man8.txt

sed '
/'<'/ i\
Email Address' man8.txt > man9.txt

sed '
/'['/ i\
Date of Expire' man9.txt > man10.txt

The above sed will add a line above the Variable .. but when i am trying to add email address ((Searching for this String and add Email above it )) and search for this ([) and add Date above it .. i know that i am sure i am wrong in executing the sed statements .. Please correct me
 
Date::Calc::PP(3pm)					User Contributed Perl Documentation				       Date::Calc::PP(3pm)

NAME
Date::Calc::PP - pure-Perl plug-in for Date::Calc SYNOPSIS
You never use this module directly. Use Date::Calc(3) instead! DESCRIPTION
You never use this module directly. Use Date::Calc(3) instead! SEE ALSO
Date::Calc(3), Date::Calc::XS(3). VERSION
This man page documents "Date::Calc::PP" version 6.3. AUTHOR
Steffen Beyer mailto:STBEY@cpan.org http://www.engelschall.com/u/sb/download/ COPYRIGHT
Copyright (c) 1995 - 2009 by Steffen Beyer. All rights reserved. LICENSE
This package is free software; you can use, modify and redistribute it under the same terms as Perl itself, i.e., at your option, under the terms either of the "Artistic License" or the "GNU General Public License". The C library at the core of the module "Date::Calc::XS" can, at your discretion, also be used, modified and redistributed under the terms of the "GNU Library General Public License". Please refer to the files "Artistic.txt", "GNU_GPL.txt" and "GNU_LGPL.txt" in the "license" subdirectory of this distribution for any details! DISCLAIMER
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "GNU General Public License" for more details. perl v5.12.4 2009-10-31 Date::Calc::PP(3pm)
All times are GMT -4. The time now is 03:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy