Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37740753
en ru br
ALT Linux repos
S:12.3-alt1
5.0: 1.37-alt1
4.1: 1.37-alt1

Group :: Text tools
RPM: jot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: jot-12.1-nonegperc.patch
Download


diff --git a/jot.c b/jot.c
index 7024b95..2244a32 100644
--- a/jot.c
+++ b/jot.c
@@ -204,11 +190,12 @@ main(int argc, char **argv)
 		errx(1, "too many arguments.  What do you mean by %s?",
 		    argv[4]);
 	}
-	getformat();
 
 	if (prec == -1)
 		prec = 0;
 
+	getformat();
+
 	while (mask)	/* 4 bit mask has 1's where last 4 args were given */
 		switch (mask) {	/* fill in the 0's by default or computation */
 		case HAVE_STEP:
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin