You're viewing a comment by dunno and its responses.

dunno Permalink
June 28, 2011, 20:40

also there's a typos @ $ set -um set1 set2, $ comm -3 <(sort -n A) >(sort -n B) | sed 's/\t//g'

btw, i would really appreciate a post comparing the efficiency of some of the solutions when there're several provided.

another thing, being the n00b that i am i can't figure out how to force the following being evaluated echo {$(paste -sd, A)}{$(paste -sd, B)} this returns {3,5,1,2,4}{11,1,12,3,2} but if i wrote directly echo {3,5,1,2,4}{11,1,12,3,2} i'd get the desire cross product?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "0day_97": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.