Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Output of "wc" is not reliable (variable number of spaces).
[simgrid.git] / tools / tesh / basic.tesh
index 6eeb3c1..32289af 100644 (file)
@@ -32,8 +32,8 @@ $ cat tmp_fich
 > c
 > d
 
-$ wc -l tmp_fich
-> 4 tmp_fich
+$ sed -n '$=' tmp_fich
+> 4
 
 $ rm tmp_fich