Medicine, Institute for Stem Cell Research, School of Biological Sciences, University of Edinburgh, SCRMMedicine, Institute for Stem Cell Research, School of Biological Sciences, University of Edinburgh, SCRMMedicine, Institute for Stem Cell Research, School of Biological Sciences,
我有一个黑名单来保存标签id列表,例如1-3,7-9,实际上它代表1,2,3,7,8,9。{1..3,7..9}; do for j in {$i}; do echo -n "$j,"; done; done但首先,我应该将-转换为..1..3,7..9echo -n "1-3,7-9" | sed 's/-/..for i in {@};