Sandro Tosi

A blog about things I do: Debian, Linux, Python, whatever

Showing posts with label scripting. Show all posts
Showing posts with label scripting. Show all posts
2011-12-01

Get the lines unique on the first field(s)

›
uniq is a great tool, since it returns the unique (adjacent) lines of the given input. But it has a limitation: it can't check for uniq...
2011-11-03

Trick of today: find -daystart

›
What to get the files older than today? Run     find /path/ -type f -daystart -mtime +0 it will return only the files older than today, ...
2011-09-19

Print a NUL-terminated string with awk

›
I thought it would have been easier to print a NUL-terminated string in awk (mawk as it's the default in Debian), but after some trial-a...
1 comment:
›
Home
View web version

Contributors

  • Sandro Tosi
  • Sandro Tosi
Powered by Blogger.