03: Shell script interview Q&As for Java developers

Q1 How will you go about reading a CSV file as shown below? Portfolio,Account,PositionIndicator,Amount AA123,CURR-AUD,CREDIT,2244.14000000 AA123,CURR-AUD,CREDIT,5.60000000 AA123,CURR-AUD,DEBIT,2249.74000000 AA123,CURR-GBP,CREDIT,0.01000000 AA123,CURR-GBP,DEBIT,0.01000000 A1 #!/bin/bash # $# means number of arguments supplied to the command. In this case the file to to be read…

(Visited 1 times, 1 visits today)

800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top