✏️ 编辑:scl_enabled
路径:
/usr/bin/scl_enabled
大小:262 B · 修改:2021-07-27 15:14:26 · 权限:0755 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
#!/usr/bin/sh eval "SCLS=(${X_SCLS[*]})" [ -z "$SCLS" ] && exit 1 [ -z "$*" ] && exit 0 for scl in $*; do FOUND=0 for i in `seq 0 ${#SCLS[@]}`; do if [ "${SCLS[$i]}" == "$scl" ]; then FOUND=1; break; fi; done [ $FOUND == 0 ] && exit 1; done exit 0
💾 保存
取消
保存为 UTF-8,换行统一为 LF