3
Могу ли я использовать переменную в расширении Bash Brace?
Ниже приведен некоторый псевдокод для того, что я пытаюсь выполнить: #!/bin/bash # I already have the variable below figured out (positive integer): numlines=$([returns number of lines containing specific characters in a file]) # This is basically what I want to do with it: for i in {1..$numlines}; do # the …