ファイルのリストは次のとおりです。
some.string_100_with_numbers.in-it.txt
some.string_101_with_numbers.in-it.txt
some.string_102_with_numbers.in-it.txt
some.string_23_with_numbers.in-it.txt
some.string_24_with_numbers.in-it.txt
some.string_25_with_numbers.in-it.txt
それを数値で並べ替えたいと思います。*23*で始まり*102*で終わります。
私は試し-n
まし-g
た。-t
これらの厄介な文字列には役立ちません。
オプション付きの数字の先頭の文字列を無視できますか、それとも賢くてスクリプトである必要がありますか?