Print itself: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 77: | Line 77: | ||
printitself() |
printitself() |
||
</lang> |
</lang> |
||
=={{header|Ksh}}== |
|||
<lang ksh> |
|||
#!/bin/ksh |
|||
# Program to print it's own source code |
|||
###### |
|||
# main # |
|||
###### |
|||
while read line; do |
|||
print "${line}" |
|||
done < $0</lang> |
|||
=={{header|Nanoquery}}== |
=={{header|Nanoquery}}== |