Search Results

Search: Posts Made By: replytoshishir
2,304
Posted By replytoshishir
you can try this... $FILE_NAME="abc.txt"; ...
you can try this...
$FILE_NAME="abc.txt";
$/="\n\n";

open(FH_R,"<",$FILE_NAME)|| die "Unable to open $FILE_NAME for reading: $!\n";
while (<FH_R>)
{
chomp;
s/\n+/=/g;
...
1,915
Posted By replytoshishir
cat file_name| perl -e...
cat file_name| perl -e 's/(\d\-\d-\d\s\d:\d:\d)\.0/$1/gc'
this will give you desired output..
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy