Index: uspace/app/bdsh/cmds/modules/cat/cat.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cat/cat.c	(revision a33706e404ea2be7e77e6260726d276e79b390f8)
+++ uspace/app/bdsh/cmds/modules/cat/cat.c	(revision 72cf06404efaa285aa890f576aa2963586dcc7ef)
@@ -176,12 +176,12 @@
 
 	bool reading_stdin = dash_represents_stdin && (str_cmp(fname, "-") == 0);
-
+	
 	if (reading_stdin) {
 		fd = fileno(stdin);
 		/* Allow storing the whole UTF-8 character. */
 		blen = STR_BOUNDS(1);
-	} else {
+	} else
 		fd = open(fname, O_RDONLY);
-	}
+	
 	if (fd < 0) {
 		printf("Unable to open %s\n", fname);
@@ -222,6 +222,6 @@
 			bytes_to_read = 1;
 		} else {
-			if ((length != CAT_FULL_FILE)
-			    && (length - (off64_t)count <= (off64_t)(blen - copied_bytes))) {
+			if ((length != CAT_FULL_FILE) &&
+			    (length - (off64_t)count <= (off64_t)(blen - copied_bytes))) {
 				bytes_to_read = (size_t) (length - count);
 			} else {
@@ -229,4 +229,5 @@
 			}
 		}
+		
 		bytes = read(fd, buff + copied_bytes, bytes_to_read);
 		bytes += copied_bytes;
@@ -261,8 +262,7 @@
 			reads++;
 		}
-
-		if (reading_stdin) {
+		
+		if (reading_stdin)
 			fflush(stdout);
-		}
 	} while (bytes > 0 && !should_quit && (count < length || length == CAT_FULL_FILE));
 
