Hi:
This is my script so far(except the last statement):
{
res = sprintf ("%d_%d",$1,$2)
printf "test\n" > res
cat /home/testart >> res #I can't do this
}
How do I accomplish the last statement in awk? I know 'cat' cannot be used.
Thanks,
Arthi.
This is my script so far(except the last statement):
{
res = sprintf ("%d_%d",$1,$2)
printf "test\n" > res
cat /home/testart >> res #I can't do this
}
How do I accomplish the last statement in awk? I know 'cat' cannot be used.
Thanks,
Arthi.