Changeset 4bfbcc in git
- Timestamp:
- Jul 21, 2010, 6:27:08 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- ad0c5c42970dfab59d4ca1c9afc9fe369b894106
- Parents:
- 198c60532f02886e728a0b264975f50487915682
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/findiff.lib
r198c60 r4bfbcc 1067 1067 " 1068 1068 { 1069 system("sh","rm QEPCAD-out");1070 system("sh","rm QEPCAD-in");1069 system("sh","rm -f QEPCAD-out"); 1070 system("sh","rm -f QEPCAD-in"); 1071 1071 if(denominator(content(f))==1) 1072 1072 { … … 1101 1101 string s8=solution(); 1102 1102 write(l1,s1,s2,s3,s4,s5,s6,s7,s8); 1103 system("sh"," $qepcad < QEPCAD-in | ${qe}/bin/qepcadfilter.pl > QEPCAD-out");1103 system("sh","qepcad < QEPCAD-in | qepcadfilter.pl > QEPCAD-out"); 1104 1104 string output=read(out); 1105 1105 print(output,"%s"); … … 1122 1122 return(lpolys); 1123 1123 } 1124 system("sh","rm QEPCAD-out");1125 system("sh","rm QEPCAD-in");1124 system("sh","rm -f QEPCAD-out"); 1125 system("sh","rm -f QEPCAD-in"); 1126 1126 1127 1127 } … … 1147 1147 " 1148 1148 { 1149 system("sh","rm QEPCAD-out");1150 system("sh","rm QEPCAD-in");1149 system("sh","rm -f QEPCAD-out"); 1150 system("sh","rm -f QEPCAD-in"); 1151 1151 string in="QEPCAD-in"; 1152 1152 string out="QEPCAD-out"; … … 1202 1202 string s8=solution(); 1203 1203 write(l1,s1,s2,s3,s4,s5,s6,s7,s8); 1204 system("sh"," $qepcad < QEPCAD-in | ${qe}/bin/qepcadfilter.pl > QEPCAD-out");1204 system("sh","qepcad < QEPCAD-in | qepcadfilter.pl > QEPCAD-out"); 1205 1205 string output=read(out); 1206 1206 print(output,"%s"); … … 1223 1223 return(llpolys); 1224 1224 } 1225 system("sh","rm QEPCAD-out");1226 system("sh","rm QEPCAD-in");1225 system("sh","rm -f QEPCAD-out"); 1226 system("sh","rm -f QEPCAD-in"); 1227 1227 } 1228 1228 example … … 1454 1454 static proc rm() 1455 1455 { 1456 system("sh","rm dummy");1457 system("sh","rm QEPCAD-in.");1456 system("sh","rm -f dummy"); 1457 system("sh","rm -f QEPCAD-in"); 1458 1458 } 1459 1459 ////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.