Input txt file: SAMN02354977 SAMN02355030 SAMN08154141
code:
#!/bin/bash while IFS= read -r line; do echo "${line}.merged.markdup.