Tag Info

New answers tagged


Just Do It. dummyvalue=`sleep 10` If you want it as part of a recipe, you can easily run any command synchronously: :0w * ? sleep 10 { } (I added the w flag for good measure.) Much larger values are possible, though if you exceed the default value of TIMEOUT, Procmail will abort the sleep. Though you can bump the value of TIMEOUT to a larger value ...


Grep the first longest line grep -Em1 "^.{$(wc -L <file.txt)}\$" file.txt The command is unusually hard to read without practise because it mixes shell- and regexp syntax. For explanation, I will use simplified pseudocode first. The lines starting with ## do not run in the shell. This simplified code uses the file name F, and leaves out quoting and ...

Top 50 recent answers are included