colsA is an array with values passed via cols from CLI.
FS - assumed to be a default FS as it's not changed anywhere in the code.
how - not sure what 'how' is - it's not used anywhere in the code.
Strange it worked just fine on my sample file:
This is my sample text
Processed Date Start Date End Date
0109/2/1 07:18:06 0109/1/31 04:00:00 0109/2/1 04:00:00
and when i used your command i got the output as
Processed Date Start Date End Date
2009/2/1 07:18:06 2009/1/31 04:00:00 0109/2/1 04:00:00
Hi,
I have a file named "Test_2008_01_21"
The file contains a string "manual" that occurs many times in the file
How can i find the positions of the string "manual" in the file
Ex: if the string " manual " occurs three times in the file. i want to replace the second occurance of string... (6 Replies)
Hi All,
My requisite is to search for the string "0108"(which is the year and has come in the wrong year format) in a particular column say 4th column in a tab delimited file and then replace it with 2008(the correct year format) in the same position where 0108 was found..The issue is the last... (15 Replies)
Hi
I am looking for a particular string in a file.If the string exists, then I want to replace another string with some other text.Once replaced, search for the same text after that character position in the file. :wall:
E.g: Actual File content:
Hello
Name: Nitin Raj
Welcome to Unix... (4 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I am having a text file which is having more than 200 lines.
EX:
001010122 12000 BIB 12000 11200 1200003
001010122 2000 AND 12000 11200 1200003
001010122 12000 KVB 12000 11200 1200003
In the above file i want to search for string KVB and add/replace... (1 Reply)
Need Assistance in shell programming... I have a huge file which has multiple stations and i wanted to search particular station and extract few lines from it and the rest is not needed
Bold letters are the stations . The whole file has multiple stations .
Below example i wanted to search... (4 Replies)
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Hi Everyone,
I have a requirement in ksh where i have a set of files in a directory. I need to search each and every file if a particular string is present in the file, delete that line and replace that line with another string expression in the same file.
I am very new to unix. Kindly help... (10 Replies)
I have the below string which i need to compare with a file and replace this string in the file which matches closely. Can anyone help me on this.
string(Scenario 1)- user::r--,user::ourfrd:r--
String(Scenario 2)- user::r--
File
****
# file: /local/Desktop/myfile
# owner: me
# group:... (6 Replies)
Discussion started by: sarathy_a35
6 Replies
LEARN ABOUT SUSE
date::manip::changes6
Date::Manip::Changes6(3) User Contributed Perl Documentation Date::Manip::Changes6(3)NAME
Date::Manip::Changes6 - backward incompatible changes in Date::Manip 6.xx
SYNOPSIS
This describes all backwards incompatible changes made to the Date::Manip module starting at version 6.00.
DESCRIPTION
For the most part, Date::Manip has remained backward compatible at every release, but occasionally, a change is made which is backward
incompatible. These are documented here. Major changes are marked with asterisks.
6.05
%z format
In Date::Manip 5.xx, the %z format in UnixDate printed the offset in the form -0500. In 6.00, I changed that to -05:00:00, but this
broke RFC 822 compliance.
I've changed %z back to -0500, and introduced a new format (%N) which returns -05:00:00.
Incidentally, this is the LAST unused letter, so I am now going to have to either stop adding formats, or add some extended format
syntax. Not sure yet which, but this may involve a backwards incompatible change in the future.
BUGS AND QUESTIONS
Please refer to the Date::Manip::Problems documentation for information on submitting bug reports or questions to the author.
SEE ALSO
Date::Manip - main module documentation
LICENSE
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Sullivan Beck (sbeck@cpan.org)
perl v5.12.1 2010-01-12 Date::Manip::Changes6(3)