Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous horizontal tab at end of single/last output column #119

Closed
rickhg12hs opened this issue Jan 6, 2022 · 2 comments
Closed

Extraneous horizontal tab at end of single/last output column #119

rickhg12hs opened this issue Jan 6, 2022 · 2 comments

Comments

@rickhg12hs
Copy link

rickhg12hs commented Jan 6, 2022

Similar to #40 (regression?), I want to create a file of the paths to certain files. Unfortunately, there is a tab (HT, 0x09) at the end that creates problems for the "simple" programs that want to read the "file-of-files".

Example:

# current directory is root of fselect src
$ fselect path where name =~ '^m.*\.rs$'
./src/mode.rs	
./src/main.rs	
./src/ignore/mod.rs	
./src/output/mod.rs	
./src/util/mod.rs	
./src/util/dimensions/mkv.rs	
./src/util/dimensions/mp4.rs	
./src/util/dimensions/mod.rs	

$ fselect path where name =~ '^m.*\.rs$' | xxd
00000000: 2e2f 7372 632f 6d6f 6465 2e72 7309 0a2e  ./src/mode.rs...
00000010: 2f73 7263 2f6d 6169 6e2e 7273 090a 2e2f  /src/main.rs.../
00000020: 7372 632f 6967 6e6f 7265 2f6d 6f64 2e72  src/ignore/mod.r
00000030: 7309 0a2e 2f73 7263 2f6f 7574 7075 742f  s.../src/output/
00000040: 6d6f 642e 7273 090a 2e2f 7372 632f 7574  mod.rs.../src/ut
00000050: 696c 2f6d 6f64 2e72 7309 0a2e 2f73 7263  il/mod.rs.../src
00000060: 2f75 7469 6c2f 6469 6d65 6e73 696f 6e73  /util/dimensions
00000070: 2f6d 6b76 2e72 7309 0a2e 2f73 7263 2f75  /mkv.rs.../src/u
00000080: 7469 6c2f 6469 6d65 6e73 696f 6e73 2f6d  til/dimensions/m
00000090: 7034 2e72 7309 0a2e 2f73 7263 2f75 7469  p4.rs.../src/uti
000000a0: 6c2f 6469 6d65 6e73 696f 6e73 2f6d 6f64  l/dimensions/mod
000000b0: 2e72 7309 0a                             .rs..
@jhspetersson
Copy link
Owner

jhspetersson commented Jan 10, 2022

@rickhg12hs Hi, could you please check the latest master if it works for you? Thanks!

@rickhg12hs
Copy link
Author

@jhspetersson Looks great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants