malikbarrett28 malikbarrett28
  • 21-12-2018
  • Computers and Technology
contestada

What is the output of the AWK program?

BEGIN {
a[1]="CST"
a[2]="CST"
for(i=1;i<4;i++) {
print a[i]
}
}

etc.

Respuesta :

kkrolltide1326
kkrolltide1326 kkrolltide1326
  • 16-01-2019
Luckily your file uses YYYY-MM-SS HH:MM:SS timestamps, which sort alphabetically. Those can be compared with < > <= etc without worrying about any date math. MIN="..." and MAX="..." are where those values are input into awk.
Answer Link

Otras preguntas

what is 5/12 - 3 /8 in simplest form
What runs but never walks, has a mouth but never speaks, has a Ned bit never sleeps? My Geo hw is riddles
Nine fewer than half a number is five more than four times the number. Define a variable, write an equation, and solve to find the number.
John had a stock of 1200 books in his bookshop. He sold 75 on Monday, 50 on tuesday,64 on wednesday 68 on thursday and 163 on friday. What percentege of the boo
What the relationship between cellular respiration and photosynthesis discuss the function of chloroplasts and mitochondria?
What a antonym for plot
How do living things store their energy ?
Which Akkadian ruler built a large army and conquered land to form one of the world's first empires? A. Akkad B. Gilgamesh C. Sargon D. Babylon
If y=-8 when x=-2,find x when y =32
what two numbers add to 2 and multiply to -80