Skip to content

Commit f23283b

Browse files
paste: fix multiple bugs
- Implement handling of "\0" delimiter - Process data in bytes to allow handling of non-UTF-8 data - Forbid unescaped trailing backslash delimiter - Fix handling of repeated input files - In "-s" mode, reset delimiters iterator after each file
1 parent b02c1f3 commit f23283b

File tree

5 files changed

+393
-263
lines changed

5 files changed

+393
-263
lines changed

file/tests/od/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ fn test_od_22() {
278278
// Given that most other implementations of `od` print one or more leading spaces, for compatibility, one
279279
// leading space will be printed.
280280
//
281-
// Busybox, GNU Core Utilities, uutils's coreutils: 1 leading space
282-
// Toybox: 2 leading spaces
281+
// BusyBox, GNU Core Utilities, uutils's coreutils: 1 leading space
282+
// toybox: 2 leading spaces
283283
//
284284
// Also, none of these implementations print trailing spaces
285285
#[test]

0 commit comments

Comments
 (0)