作者ja77 (LaTex)
看板EE_DSnP
标题Re: [问题] SelfCheck有问题
时间Tue Mar 17 21:43:48 2009
刚刚请同学寄给我有问题的作业和相关档案,
发现有下列问题应该是dos和unix转换时,
换行符号不同所造成的结果(dos:\r\n unix:\n),
所以有下列问题请在unix底下打
%> dos2unix SelfCheck
%> dos2unix MustExist.txt
%> dos2unix MustRemove.txt
或者使用wget直接去老师的网页抓这三个档案
%> wget --user=ooxx --password=ooxx URL
※ 引述《firstquarter (TMM豪)》之铭言:
: 我用Selfcheck的时候
: 输入./SelfCheck b95901022_hw1.1.tgz
: 会说没有这个file
: 输入perl SelfCheck b95901022_hw1.1.tgz
: 会开始跑 最後跑出Failed in selfcheck
: 但没有说我少了哪个档案或多了哪个档案
: (事实上我比对过 应该是没有少或多才对...)
: 不过我在网页上下载SelfCheck的时候
: 用ie他会开出一个新网页 里面都是code
: 按右键另存新档会存成一个.txt档
: 我是把它丢到Linux後用chmod强制把它转成执行档的
: 不知道是不是这个原因@@
: 最後附上完成跑出来的内容
: %> ./SelfCheck b95901022_hw1.1.tgz
: : No such file or directory
: %> perl SelfCheck b95901022_hw1.1.tgz
: b95901022_hw1.1.tgz is self checking!
: StudentID:b95901022
: in your compressed file.1022_hw1.1/hw1.1.p1.txt
: in your compressed file.1022_hw1.1/hw1.1.p2.log
: in your compressed file.1022_hw1.1/hw1.1.p2a.cmd
: in your compressed file.1022_hw1.1/hw1.1.p2b.cmd
: in your compressed file.1022_hw1.1/hw1.1.p2c.cmd
: in your compressed file.1022_hw1.1/hw1.1.p2a.log
: in your compressed file.1022_hw1.1/hw1.1.p2b.log
: in your compressed file.1022_hw1.1/hw1.1.p2c.log
: in your compressed file.1022_hw1.1/hw1.1.p3.cmd
: in your compressed file.1022_hw1.1/hw1.1.p3.log
: in your compressed file.1022_hw1.1/HW1.1.P4/a.cpp
: in your compressed file.1022_hw1.1/HW1.1.P4/b.cpp
: in your compressed file.1022_hw1.1/HW1.1.P4/a.h
: in your compressed file.1022_hw1.1/HW1.1.P4/b.h
: in your compressed file.1022_hw1.1/HW1.1.P4/main.cpp
: in your compressed file.1022_hw1.1/HW1.1.P4/hw1.1.p4a.make
: in your compressed file.1022_hw1.1/HW1.1.P4/hw1.1.p4b.make
: Failed in self checking
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.160.173.174
1F:推 ric2k1:谢谢前任助教! 03/17 21:47
2F:推 firstquarter:成功了! 谢谢助教!! 03/17 23:31
3F:推 Ultor:成功了 XD 谢谢前任助教 XD 03/17 23:41