Search Results

Search: Posts Made By: Phass
4,406
Posted By Phass
Many thanks !
Many thanks !
4,406
Posted By Phass
I don't understand why it doesn't work for me :S...
I don't understand why it doesn't work for me :S :S

Anyway, can u explain me what u do in the code? I want to understand what I do

I don't understand " min = min ? min : $5 ". min = min it's...
4,406
Posted By Phass
Danmero, i've tried ur code, but files with 0...
Danmero, i've tried ur code, but files with 0 size aren't caughted like min, just the file with the min size > 0.

PD: can u explain me a bit ur code? dont understand a lot "min=min?min:$5" and why...
4,406
Posted By Phass
Improve program efficiency (awk)
Hi !! I've finished an awk exercise. Here it is:

#!/bin/bash

function calcula
{

# Imprimimos el mayor tamaņo de fichero

ls -l $1 | awk '
BEGIN {
max = $5; # Inicializamos la...
2,232
Posted By Phass
Ok, it's finished !! Many thanks !
Ok, it's finished !! Many thanks !
2,232
Posted By Phass
Many thanks, it works !! But can u explain me why...
Many thanks, it works !! But can u explain me why or what is NR == 2 ??? I don't understand :S

Many many thanks
2,232
Posted By Phass
Trouble with part of an exercise
Hi, 'm trying to do an exercicise, and one part is:

ls -l $1 | awk '
BEGIN {
max = $5;
}
{
if ($5 > max){
max = $5;
}
}
END {
print...
Showing results 1 to 7 of 7

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