Entering edit mode
4.1 years ago
utkarsh.sood
▴
40
Hi
I want to use the following command on multiple .faa files (around 1000 each starting with different name). Kindly help.
sed '/^>/ s/ .*//' 182965_iorA.faa > result/182965_iorA.faa
Best wishes
Thank you for your quick response but I am getting the following error
bash: syntax error near unexpected token `;'
sorry :
for i in *.faa ; do sed '/^>/ s/ .*//' $i > result/$i ; done