Browse Source

worksthesame

master
Jacob 3 years ago
parent
commit
e60eb56b8d
  1. 6
      main.go

6
main.go

@ -25,7 +25,6 @@ func main() {
for j := 0; j < len(args); j++ {
hasNewLine = false
if args[j] == '\\' && args[j+1] == 'n' {
// fmt.Println()
newlinePos = append(newlinePos, j)
hasNewLine = true
@ -38,11 +37,10 @@ func main() {
fmt.Println()
}
}
// fmt.Println()
if i == 7 {
if hasNewLine == true {
fmt.Println()
i = 0
i = -1
hasNewLine = false
args = args[newlinePos[loopCount*8]+2:]
loopCount++

Loading…
Cancel
Save