Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
2
Task/Variables/AWK/variables-4.awk
Normal file
2
Task/Variables/AWK/variables-4.awk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Feeding standard-input with echo:
|
||||
echo -e "2 apples 0.44$ \n 3 banana 0.33$" | awk '{p=$1*$NF; sum+=p; print $2,":",p; }; END{print "Sum=",sum}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue