QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 620|回复: 1

错在哪

[复制链接]
发表于 2003-6-28 18:29:59 | 显示全部楼层 |阅读模式
#!/bin/bash
echo "please input directory:"
read dir
for i in $dir
  if [ -f $i ]
   then
     if [ -r $i ]
       then
         cat $i
fi;fi;
done
 楼主| 发表于 2003-6-28 23:38:43 | 显示全部楼层
没人  我的问题太简单???
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-20 16:32 , Processed in 0.053186 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表