Skip to end of metadata
Go to start of metadata

MacOS X Tricks

pbcopy and pbpaste utilities

Use pbcopy to place something from the command line on the specified clipboard. Use it with options to place it on the default clipboard:

Use pbpaste to grab something from the clipboard and use it on the command line:

See the manpage for more info.

Verify xml documents

It is pretty lame to fire up an ide just to verify your xml documents. Use xmllint to verify with a schema or dtd.

xmllint has lots of options, so see the man page for more info.

Labels
  • None