modified truncate function to return entire body if -w is set to '0'