Search Results

Search: Posts Made By: anusurya
1,993
Posted By anusurya
HI .... By using perl .... ...
HI ....

By using perl ....

#!/usr/local/bin/perl
$input = "input.file";
open(IN,"$input") or die "Cant open inour file\n";
while(<IN>)
{
$line = $_;
chomp($line);
...
1,232
Posted By anusurya
hi try this tooo ..... awk -F: '{print $2}'...
hi try this tooo .....
awk -F: '{print $2}' 1.pl

Thanks
Anu
4,598
Posted By anusurya
Hi..... May i see the output wat u need .. ...
Hi.....

May i see the output wat u need ..


Thanks
Anusurya.A:b:
2,231
Posted By anusurya
HI .... Try this untested perl script..... ...
HI ....

Try this untested perl script.....
open (FILE,"file1");
while(<FILE>)
{
$line = $_;
if ( $line =~ /^\s*$/ )
{
print "$value\n";
$value = ""; @value = ();
...
1,161
Posted By anusurya
echo \"this is an \"\"sample\"\" text\" | sed...
echo \"this is an \"\"sample\"\" text\" | sed 's/\"/\""/g'


:rolleyes:

Video tutorial on how to use code tags in The UNIX and Linux Forums....
2,193
Posted By anusurya
try this.......
$join = "join";
open ( FILE ,"$join") or $rc = 101;
while( <FILE> )
{
chomp($_);
$First = $_ if ( $_ =~ /\s$/ );
$length = length($_);
if ( $length == "20" )
{
next;
...
9,875
Posted By anusurya
ANUSURYA
sed 's/^\..*//g' dot
Showing results 1 to 7 of 7

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