Search Results

Search: Posts Made By: sdl27789
3,280
Posted By birei
Fixed my script (modifications in red): $...
Fixed my script (modifications in red):

$ cat script.pl
use warnings;
use strict;
use List::Util qw[ min ];

die qq[Usage: perl $0 <input-file>\n] unless @ARGV == 1;

push @ARGV, $ARGV[0];...
3,280
Posted By Corona688
This will give you 10 decimal places: awk -v...
This will give you 10 decimal places:

awk -v OFS="\t" '
# Run this for all lines in the first given file
NR==FNR { for(N=2; N<=NF; N++) if((!MIN)||($N < MIN)) MIN=$N; next }
# Run this for all...
Showing results 1 to 2 of 2

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