Reputation
116,286
Next tag badge:
97/100 score
36/20 answers
Badges
18 146 293
Newest
 Nice Answer
Impact
~4.5m people reached

Jun
29
comment find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
Also note that it means running one shasum command per file which would be less efficient than a find -exec ... {} + approach.
Jun
29
comment find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
Note that bash before 4.3 did follow symlinks when descending directories (a la find -L).
Jun
29
comment find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
Note that it will also try to checksum other types of non-regular files like pipes, devices... (and symlinks to them).
Jun
29
revised find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
deleted 64 characters in body
Jun
29
answered find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
Jun
29
comment find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
@jimmij, that's not guaranteed to work either if several sh invocations are necessary. Note that you need an argument for $0 before {}.
Jun
29
revised find | xargs shasum creates checksum of checksum file itself (prematurely) and fails when checking
added 385 characters in body
Jun
29
revised Can I use the mouse to properly select text in less?
added 287 characters in body
Jun
29
revised Can I use the mouse to properly select text in less?
added 23 characters in body
Jun
29
revised Can I use the mouse to properly select text in less?
added 23 characters in body
Jun
29
comment Can I use the mouse to properly select text in less?
@Sparhawk, do you have any custom key-bindings for less, j scrolls down by one line (forw-line) in the default key binding (actually J (forw-line-force) would be better here, I'll edit). | should give you some feedback. (prompt for the mark, and then the command to enter).
Jun
29
revised Can I use the mouse to properly select text in less?
added 371 characters in body
Jun
29
revised Can I use the mouse to properly select text in less?
added 1067 characters in body
Jun
29
comment Can I use the mouse to properly select text in less?
@Sparhawk, see edit.
Jun
29
revised Can I use the mouse to properly select text in less?
added 196 characters in body
Jun
29
answered Can I use the mouse to properly select text in less?
Jun
29
comment Add a newline into a filename with `mv`
bash, like zsh and FreeBSD sh copied that from ksh93.
Jun
29
awarded  Revival
Jun
29
revised Add a newline into a filename with `mv`
added 2 characters in body
Jun
28
revised Security implications of forgetting to quote a variable in bash/POSIX shells
typo