Search Results

Search: Posts Made By: jypark22
1,536
Posted By Don Cragun
Maybe something more like: awk ' { for(i = 1;...
Maybe something more like:
awk '
{ for(i = 1; i <= NF; i++) {
f[NR % 4, i] = $i
}
}
!(NR % 4) {
ocnt = 0
for(i = 1; i <= NF; i++)
if(!(f[3, i] in of)) {
of[f[3, i]]...
1,536
Posted By Aia
Save as chunks.pl Run as perl chunks.pl...
Save as chunks.pl
Run as perl chunks.pl chunks.data


#!/usr/bin/perl
#
use strict;
use warnings;

my @chunks;
my $lines = 0;
while(<>){
my @parts = split;
push...
2,396
Posted By Don Cragun
We don't need or want you to post sensitive data....
We don't need or want you to post sensitive data. But, for us to help you write code to process data, we absolutely require a clear description and/or a representative sample (with sensitive data...
2,396
Posted By RudiC
That value is 0 as there's text string inside the...
That value is 0 as there's text string inside the parentheses. Wouldn't it have been nice if the real data had been known from the beginning?
2,396
Posted By RudiC
awk -F"(" ' #...
awk -F"(" ' # make "(" the field separator

FOUND {while (/\\$/) {getline X # if last line had "index_2", read and append
...
Showing results 1 to 5 of 5

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