HistoryPurge: Clearing 219 old commits

This commit is contained in:
xpk
2024-10-24 23:09:21 +08:00
commit d08b7cac59
348 changed files with 376141 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env xonsh
print("Method1: map and str.strip")
for i in map(str.strip, !(cat /tmp/test.txt)):
print(i)
print("Method2: splitlines")
#for j in $(cat /tmp/test.txt).splitlines():
for j in !(cat /tmp/test.txt).out.splitlines():
print(j)