N,NAME
1,林檎
2,蜜柑
3,白桃
4,南瓜
in:
type: file
path_prefix: /tmp/b/test.sj.txt
parser:
type: fixed
charset: Shift_JIS
newline: LF
strip_whitespace: true
columns:
- { name: id, type: string, pos: 0..0 }
- { name: name, type: string, pos: 2..3 }
out:
type: stdout
+-----------+-------------+
| id:string | name:string |
+-----------+-------------+
| N | NA |
| 1 | 林檎 |
| 2 | 蜜柑 |
| 3 | 白桃 |
| 4 | 南瓜 |
+-----------+-------------+