I am developing a web app, wherein I am using shell script as my back end(which has an embedded awk script) and Java as my front end . I am using Process Builder to call the shell script program . Strangely, my awk script which is inside my shell script is not getting executed . Am I going wrong some where ... Could you ppl plese share your views regarding this .
The shell script as typed in a comment below.
#!/bin/bash
FileA=$1
FileB=$2
awk -v FileA="$FileA" '{print $0 >> FileA;}' "$FileB"