Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (2)
#!/usr/bin/env python #!/usr/bin/env python2
import subprocess as sp import subprocess as sp
...@@ -10,7 +10,7 @@ while True: ...@@ -10,7 +10,7 @@ while True:
try: try:
sp.check_call(["dispense","acct", username]) sp.check_call(["dispense","acct", username])
#sp.check_call(["id", username]) #sp.check_call(["id", username])
sp.check_call(["finger", username]) #sp.check_call(["finger", username])
except sp.CalledProcessError: except sp.CalledProcessError:
username = None username = None
......
#!/usr/bin/env python #!/usr/bin/env python2
import subprocess as sp import subprocess as sp
sp.call(['tail', '-n55555', "/home/other/coke/cokelog"]) sp.call(['tail', '-n5', "/home/other/coke/cokelog"])
username=None username=None
while(not(username)): while(not(username)):
...@@ -9,7 +9,7 @@ while(not(username)): ...@@ -9,7 +9,7 @@ while(not(username)):
try: try:
sp.check_call(["dispense","acct", username]) sp.check_call(["dispense","acct", username])
#sp.check_call(["id", username]) #sp.check_call(["id", username])
sp.check_call(["finger", username]) #sp.check_call(["finger", username])
except sp.CalledProcessError: except sp.CalledProcessError:
username = None username = None
......