瀏覽代碼

init commit

Noah Vogt 4 年之前
當前提交
b3cac542ac
共有 3 個文件被更改,包括 13 次插入0 次删除
  1. 1 0
      src/piper
  2. 9 0
      src/read-from-input.py
  3. 3 0
      tests/testfile

+ 1 - 0
src/piper

@@ -0,0 +1 @@
+sed 's/,/\n/; s/4/quarter/'

+ 9 - 0
src/read-from-input.py

@@ -0,0 +1,9 @@
+import sys
+
+l = []
+
+for line in sys.stdin:
+    #print(line.rstrip())
+    l.append(line.rstrip())
+
+print(l)

+ 3 - 0
tests/testfile

@@ -0,0 +1,3 @@
+4,C4
+4,C3
+4,D#4