#!/bin/bash echo "hello world"
# GNU Troff floppsie.comp.glam.ac.uk/pub/groff/groff.tar.gz
#!/usr/bin/python
for line in open(’autoftprc’).readlines():
print line
uncomment = string.split(line, ’#’) print uncomment[0]
words = string.split(uncomment[0], ’/’)
#!/usr/bin/python
import sys, string
from ftplib import FTP
for line in open(’autoftprc’).readlines():
uncomment = string.split(line, ’#’)
words = string.split(uncomment[0], ’/’)
i = len(words)
if i>1:
print ’ is the site’, words[0]
print ’ is the file’, words[i-1]
directory=""
for j in range(1,i-1):
directory = directory + ’/’ + words[j]
site = words[0]
file = words[-1]
print ’directory is’, directory
This document was produced using groff-1.19.