$ ./tester
Enter quit to stop
enter a cmd line> ls -l -a
Command line: ls -l -a
0 #ls#
1 #-l#
2 #-a#
run in the background is false
enter a cmd line> yo ho ho &
Command line: yo ho ho &
0 #yo#
1 #ho#
2 #ho#
run in the background is true
enter a cmd line> a b c def ghijk l mn op
Command line: a b c def ghijk l mn op
0 #a#
1 #b#
2 #c#
3 #def#
4 #ghijk#
5 #l#
6 #mn#
7 #op#
run in the background is false
enter a cmd line> a b c d e f g h i j k l m n o p q r s t u v w x y z
Command line: a b c d e f g h i j k l m n o p q r s t u v w x y z
0 #a#
1 #b#
2 #c#
3 #d#
4 #e#
5 #f#
6 #g#
7 #h#
8 #i#
9 #j#
10 #k#
11 #l#
12 #m#
13 #n#
14 #o#
15 #p#
16 #q#
17 #r#
18 #s#
19 #t#
20 #u#
21 #v#
22 #w#
23 #x#
24 #y#
25 #z#
run in the background is false
enter a cmd line> pwd &
Command line: pwd &
0 #pwd#
run in the background is true
enter a cmd line> quit