Commit Graph

345 Commits

Author SHA1 Message Date
Peter J. Holzer 3a0ee630ed Make fqdn more resilient and more polite 2022-08-11 15:47:21 +02:00
Peter J. Holzer ca9306318b Fix warning 2022-08-11 15:46:13 +02:00
Peter J. Holzer 3a5268c37a Merge branch 'master' of github.com:hjp/simple 2021-04-22 20:53:18 +02:00
Peter J. Holzer 574338319e Fix handling of directory with x but no r permission 2021-04-20 09:20:36 +02:00
Peter J. Holzer 3f726736ca Add column with foreground color 2021-03-18 16:58:36 +01:00
Peter J. Holzer 4563b0a53a Use Perl version of chartab and autoconfigure GNUmake* 2019-08-23 10:27:42 +02:00
Peter J. Holzer 5de6672e2a Add .gitignore files 2018-09-27 13:09:22 +02:00
Peter J. Holzer 8013784ff0 Use perl to construct GNUmakerules 2018-09-27 13:08:43 +02:00
Peter J. Holzer f84e48fd1b Merge branch 'master' of /home/hjp/git/simple 2018-09-13 19:12:38 +02:00
Peter J. Holzer 59e958e160 Add -r (--reverse) option. 2018-09-13 19:05:06 +02:00
Peter J. Holzer e27477085c Print share 2018-09-13 19:02:40 +02:00
Peter J. Holzer 75b3f4bea7 Use install instead of cp 2018-07-23 12:15:59 +02:00
Peter J. Holzer b58b1b1dc5 Merge branch 'master' of hrunkner.hjp.at:git/simple 2017-02-17 13:21:19 +01:00
Peter J. Holzer fdd9010646 Separate all fields with tabs 2017-02-17 13:20:05 +01:00
Peter J. Holzer 51abe1d11a Get default encoding from locale 2017-02-17 13:19:17 +01:00
Peter J. Holzer 473a272066 Assume file has vanished if we can't lstat it
A file might be deleted between the time we read the directory and the
time we get around to check it, so if we can't lstat it, assume that is
what has happened. (It might also have been renamed, but that's
equivalent to this file being deleted and another being created, so we
don't have to treat this specially)
2016-10-04 23:59:58 +02:00
Peter J. Holzer f3d48b2cdc Remove bashism 2016-10-04 23:30:45 +02:00
Peter J. Holzer 2209823843 Add option --mssafe to isodate
MS OSs don't like ":" in filenames (and Samba's scrambling algorithm
makes filenames with it completely unrecognizable), so I added an option
to use a less dangerous character ("-") in the time part. "." would
have been nicer and technically possible but that's used to delimit
extensions, so that might have had surprising consequences, too. Just
omitting the delimiter and squashing HHMMSS together isn't very
readable.
2016-10-04 23:21:58 +02:00
Peter J. Holzer be21bc6ff8 Tolerate vanishing files 2016-09-15 12:26:03 +02:00
Peter J. Holzer 52d52cb258 Remove bashism 2016-09-15 12:25:43 +02:00
Peter J. Holzer df8c3bcbb5 Fix checking aliases. 2016-07-05 23:14:42 +02:00
hjp 8e2f03dc0b Remove ts.bx in target clean 2016-07-05 20:47:42 +00:00
hjp cd81f6a2ba Check out all revisions of a repository (or directory or file) 2016-07-05 20:39:43 +00:00
hjp ce339c38c7 Automatically create GNUmakerules and GNUmakevars 2016-07-05 20:33:36 +00:00
hjp 247743c9dd Add GNUmakerules, GNUmakevars to distclean 2016-07-05 20:30:23 +00:00
hjp 0520500523 Add target distclean, remove target clean 2016-07-05 20:29:07 +00:00
hjp 108136917f Add target distclean 2016-07-05 20:27:38 +00:00
hjp 5935f6a0e6 Add GNUmakerules, GNUmakevars; Remove very obsolete target install_all 2016-07-05 20:26:11 +00:00
hjp f052403e23 Add GNUmakerules and GNUmakevars to distclean 2016-07-05 20:19:48 +00:00
hjp 712d3d1c9a Fix bashism 2016-07-05 20:18:16 +00:00
hjp d941663269 Fix bashism
Probably doesn't work with bash anymore ...
2016-07-05 20:15:25 +00:00
hjp 3944b561fd Check reverse and forward resolution for (IPv4) address 2016-07-05 20:14:35 +00:00
hjp 469ef14cb4 Add target distclean and fix target clean 2016-07-05 20:08:33 +00:00
hjp 099d15ec1d Add target clean 2016-07-05 20:04:08 +00:00
hjp f155ff878c Add target distclean 2016-07-05 20:01:48 +00:00
hjp 1c961289e9 Add GNUmakefile 2016-07-05 19:59:14 +00:00
hjp 89e5b8a3ff GNUmakerules, GNUmakevars 2016-07-05 19:57:27 +00:00
hjp e78b9530ef Add script to hog cpu for given time 2016-07-05 19:55:43 +00:00
hjp e3c6f75cfd malloc: allocate memory block and print address 2016-07-05 19:55:08 +00:00
hjp 8260d39d4e Add target distclean 2016-07-05 19:52:03 +00:00
hjp 1bc6615651 Improve targets clean, distclean 2016-07-05 19:48:45 +00:00
hjp 9fa521b60c Add target clean 2016-07-05 19:42:18 +00:00
hjp 3ef0c01ff0 Add GNUmakerules, GNUmakevars 2016-07-05 19:39:39 +00:00
hjp 378a0a9f70 print color table for 256 color xterm 2016-07-05 19:30:30 +00:00
hjp 0c72134b24 benchmark opening of a random file 2016-07-05 19:28:35 +00:00
hjp e4f841f6c3 Dump O_* flags 2016-07-05 19:22:02 +00:00
hjp a5b3940dfe Add test for (gnome?) notifications 2016-07-05 19:19:06 +00:00
hjp 5a638ec8fd Complete rewrite? 2016-07-05 19:16:42 +00:00
hjp 0984229b9b Adapt to modern linux utmp structure: microsecond timestamps, IPv6 2016-07-05 19:13:09 +00:00
hjp dd02446c69 Add rules to build GNUmakerules and GNUmakevars 2016-07-05 18:24:22 +00:00