implements the -J option
implements the -J option