set a = `ls -l` @ i = 6 @ j = 10 while ($#a > $j) if (-f $a[$j]) then @ x = $a[$i] / 1000 @ y = $a[$i] % 1000 echo $a[$j] $x k $y @ i += 8 @ j += 8 endif end
- Saturday
- April 19th, 2025
- Ajouter un cours
set a = `ls -l` @ i = 6 @ j = 10 while ($#a > $j) if (-f $a[$j]) then @ x = $a[$i] / 1000 @ y = $a[$i] % 1000 echo $a[$j] $x k $y @ i += 8 @ j += 8 endif end