shithub: hx

Download patch

ref: 20d7fe9e9a69800aa4268631108c312bb3a236c1
parent: 14d4f2349aa47490827461f15875442b5b979eae
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Dec 28 08:31:07 EST 2019

print filename if several passed as arguments

--- a/hx.c
+++ b/hx.c
@@ -151,6 +151,8 @@
 			perror(argv[i]);
 			res = 1;
 		} else {
+			if (argc > 2)
+				printf("hx %s\n", argv[i]);
 			if ((res = hx(fd)) != 0)
 				perror(argv[1]);
 			close(fd);