1 # C-shell compatabilty package.
13 # Can't write foreach yet. Need pattern matching, and a few extras.
15 echo 'Can'\''t do `foreach'\'' yet. Type "help for".'
18 # Make this work like csh's. Special case "term" and "path".
27 # alias - convert csh alias commands to bash functions
28 # from Mohit Aron <aron@cs.rice.edu>
29 # posted to usenet as <4i5p17$bnu@larry.rice.edu>
36 echo $2 | egrep -s '(\!|#)' 2>/dev/null
39 comm=$(echo $2 | sed 's/\\!\*/\"$\@\"/g
40 s/\\!:\([1-9]\)/\"$\1\"/g
45 eval function $1 \(\) "{" command "$comm" "; }"