Re: csplit reports No space left on device

2022-08-18 Thread Mike Jonkmans
do the run on another (file) system if possible. > > cheers, > Pádraig. Maybe run the various df's periodically alongside in another terminal. So you can see what grows. You could use 'watch' for that or write a simple script. Include a 'date' command in this. And also put a 'date' after the csplit. This might help correlate the output. Include both filesystems in the df's. Succes! -- Regards, Mike Jonkmans It was all so different before everything changed.

Re: Inconsistent behavior of core utilities

2022-08-23 Thread Mike Jonkmans
the manpage of bash: Quote Removal After the preceding expansions, all unquoted occurrences of the characters \, ', and " that did not result from one of the above expansions are removed. > Anyway, here's an example for find -print0: > > $ find . -type f -print0 | xargs -0 grep a -- > ./one one:a > ./one:a > > -- > Dominique find is the path to go. -- Regards, Mike Jonkmans

Re: [PATCH] Re: wc --no-total option

2022-09-12 Thread Mike Jonkmans
s to be specified on the command line > > (and for those to be processed after stdin), > > it would mean the wc-no-total() function above would be general, > > and would work for all wc invocations. > > > > Though a --no-total option is looking more appealing > > given the above considerations. I.e. that the > > wc-no-total() implementation isn't obvious, > > and we'd have to change wc anyway to make it general. > > > > So I'd be 55:45 for adding this option. > > > > Good arguments. +1 I think it is nice to have. What about only printing the total? With 'wc --total' or 'wc -t'. -- Regards, Mike Jonkmans

Re: Worth submitting a pull request to add –dry-run flag to rm?

2023-02-14 Thread Mike Jonkmans
nothing and echo what would be done. Other options, like -f, -r and -i also may need some thought w.r.t. --dry-run. The short form could be -s. Alternatives --simulate, ... 'apt-get' uses these. Other utilities might also profit from such an option, e.g. 'mv'. But i am not a maintainer either. -- Regards, Mike Jonkmans