I have written a bash script with has a python code embedded within it. What I did was read in the file and cut it with the below bash commands and then I exported it so that the python code could use it:
export BWA_compare=$(cut --output-delimiter='' -f1-3 ${BWA_AT}| sed 1d)
The problem is I get
/bin/cut: Argument list too long
/bin/sed: Argument list too long
It works on smaller files. Is there a limit on how much you can export?
sed
error doesn't make sense to me as the argument list contains just one element.