Portál AbcLinuxu, 6. listopadu 2025 09:50
Dakujem.
#!/usr/bin/python
import re
regexp = re.compile(r"StreamTitle='(.*)'")
for line in file('text'):
try:
print regexp.search(line).groups()[0]
break
except:
pass
cut -d "\'" -f 2 $nazev_st
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.