特定の位置に1桁または2桁のすべてのファイルをマージしたい。基本的に1〜22の数字を一致させたいです。
私はbashで書きます:
cat chr[0-9][0-9]{0,}_from6_new_mono.txt >all_autosomes_from6_new_mono.txt
このエラーが発生します:
cat: chr[0-9][0-9]0_from6_new_mono.txt: No such file or directory
ただし、ファイル名は次のようになります。
chr22_from6_new_mono.txt
また
chr1_from6_new_mono.txt
誰かplsはどこで問題が発生する可能性があるか私にアドバイスできますか?ありがとう:)