我有一行bash:
SAMPLES=$(for f in `find $IN -iname *fastq.gz `; do basename $f | cut -c 1-4; done | sort | uniq)
我试图分成多行来评论每一行。我想要类似下面这样的内容,每行或在行后面有注释:
SAMPLES=
#comment
$(for f in `find $IN -iname *fastq.gz `; \
#comment
do basename $f |
#comment
cut -c 1-4; done |
#comment
sort |
#comment
uniq)