From 2f1a50d81671810256dce0852e6b1e0810ac44af Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 3 Aug 2009 11:10:13 -0400 Subject: Convert all TABs-as-indentation to spaces. Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' --- fish/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fish/time.c') diff --git a/fish/time.c b/fish/time.c index aae9afe0..ed00c18e 100644 --- a/fish/time.c +++ b/fish/time.c @@ -47,8 +47,8 @@ do_time (const char *cmd, int argc, char *argv[]) end_us = (int64_t) end_t.tv_sec * 1000000 + end_t.tv_usec; elapsed_us = end_us - start_us; printf ("elapsed time: %d.%02d seconds\n", - (int) (elapsed_us / 1000000), - (int) ((elapsed_us / 10000) % 100)); + (int) (elapsed_us / 1000000), + (int) ((elapsed_us / 10000) % 100)); return 0; } -- cgit