Search Results

Search: Posts Made By: Tibbeche
2,808
Posted By Tibbeche
Hi all, below the perl script used for: ...
Hi all,
below the perl script used for:

#!/usr/bin/perl

open (FILE,"<$ARGV[0]");

while (<FILE>){

chomp;

my @line = split('\|' , $_);

if($line[12] eq 'Compensation'){

...
2,808
Posted By Tibbeche
Delete rows from big file
Hi all,
I have a big file (about 6 millions rows) and I have to delete same occurrences, stored in a small file (about 9000 rews). I have tried this:

while read line
do
grep -v $line big_file...
Showing results 1 to 2 of 2

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