Changeset d75898 in git for Singular/LIB/sing4ti2.lib
- Timestamp:
- Mar 9, 2018, 2:02:30 PM (6 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 0b3f03021c889c620342366b4155f113a11c5bcf
- Parents:
- 5d214023bfebbbef380e58bbba2f62c85a14881445fa962b8938643ace5cdc03f189d4457e4c7408
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/sing4ti2.lib
r5d21402 rd75898 90 90 // using standard unix commands 91 91 //---------------------------------------------------------------------- 92 j=system("sh","markov sing4ti2 >/dev/null 2>&1"); 92 // find the name of markov/4ti2-markov 93 string s_name=system("executable","markov"); 94 if (size(s_name)==0) { s_name=system("executable","4ti2-markov"); /* debian*/ } 95 j=system("sh",s_name+" sing4ti2 >/dev/null 2>&1"); 93 96 j=system("sh","awk \'BEGIN{ORS=\",\";}{print $0;}\' sing4ti2.mar | sed s/[\\\ \\\t\\\v\\\f]/,/g | sed s/,+/,/g|sed s/,,/,/g|sed s/,,/,/g > sing4ti2.converted"); 94 97 if(!defined(keepfiles)) … … 212 215 // using standard unix commands 213 216 //---------------------------------------------------------------------- 214 j=system("sh","graver sing4ti2 >/dev/null 2>&1"); 217 // find the name of graver/4ti2-graver 218 string s_name=system("executable","graver"); 219 if (size(s_name)==0) { s_name=system("executable","4ti2-graver"); /* debian*/ } 220 j=system("sh",s_name+" sing4ti2 >/dev/null 2>&1"); 215 221 j=system("sh","awk \'BEGIN{ORS=\",\";}{print $0;}\' sing4ti2.gra | sed s/[\\\ \\\t\\\v\\\f]/,/g | sed s/,+/,/g |sed s/,,/,/g|sed s/,,/,/g > sing4ti2.converted"); 216 222 if(!defined(keepfiles)) 217 223 { 218 224 j=system("sh",("rm -f sing4ti2.gra sing4ti2."+fileending)); 219 225 } 220 226 //---------------------------------------------------------------------- … … 332 338 // using standard unix commands 333 339 //---------------------------------------------------------------------- 334 j=system("sh","hilbert sing4ti2 >/dev/null 2>&1"); 340 // find the name of hilbert/4ti2-hilbert 341 string s_name=system("executable","hilbert"); 342 if (size(s_name)==0) { s_name=system("executable","4ti2-hilbert"); /* debian*/ } 343 j=system("sh",s_name+" sing4ti2 >/dev/null 2>&1"); 335 344 j=system("sh","awk \'BEGIN{ORS=\",\";}{print $0;}\' sing4ti2.hil | sed s/[\\\ \\\t\\\v\\\f]/,/g | sed s/,+/,/g |sed s/,,/,/g|sed s/,,/,/g > sing4ti2.converted"); 336 345 if(!defined(keepfiles))
Note: See TracChangeset
for help on using the changeset viewer.