Hi and happy new year,
Given the most general running scenario involving a pattern
I'm unsure whether it makes sense to run cmd no matter if the pattern is matched ; but at least I can tell that it is not always what I expect from Rargs.
Take for instance the common scenario when some files, e.g.
1. Some name
10. Another name
need to be renamed like
01. Some name
10. Another name
There, I wish I was able to type
ls |rargs -p '^(\d\..*)' -- mv "'{1}'" "'0{1}'"
but it wouldn't currently work since Rargs would execute mv for both files, instead of the first one only.
Hi and happy new year,
Given the most general running scenario involving a pattern
I'm unsure whether it makes sense to run
cmdno matter if the pattern is matched ; but at least I can tell that it is not always what I expect from Rargs.Take for instance the common scenario when some files, e.g.
need to be renamed like
There, I wish I was able to type
but it wouldn't currently work since Rargs would execute mv for both files, instead of the first one only.