Hi,
I have a big file as:
aaa 001 123
bbb 003 300
ccc 005 5000
ddd 022 11
...
I need have an output as:
myclass{
aaa numoutput
data 123
prio 0
}
myclass{
bbb numoutput
data 300
prio 0
}
....
i.e, for each line of the input file: (the first column is with numoutput and third column is with data.
How can I do this?
Thanks.
I have a big file as:
aaa 001 123
bbb 003 300
ccc 005 5000
ddd 022 11
...
I need have an output as:
myclass{
aaa numoutput
data 123
prio 0
}
myclass{
bbb numoutput
data 300
prio 0
}
....
i.e, for each line of the input file: (the first column is with numoutput and third column is with data.
How can I do this?
Thanks.