a little ugly, but works.cat tt.txt a a b c c b 123 3243 123 133 133 perl -mPerl6::Junction=all -lne 'our @c; print,push @c,$_ if $_ ne all +(@c);' tt.txt
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: one line for combining line
by ikegami (Patriarch) on Jul 06, 2010 at 04:05 UTC | |
by xiaoyafeng (Deacon) on Jul 06, 2010 at 04:35 UTC | |
by ikegami (Patriarch) on Jul 06, 2010 at 04:42 UTC | |
by xiaoyafeng (Deacon) on Jul 06, 2010 at 05:52 UTC | |
|
Re: one line for combining line
by toolic (Bishop) on Jul 06, 2010 at 03:52 UTC | |
by xiaoyafeng (Deacon) on Jul 06, 2010 at 04:03 UTC | |
by ikegami (Patriarch) on Jul 06, 2010 at 04:09 UTC | |
by xiaoyafeng (Deacon) on Jul 06, 2010 at 04:19 UTC | |
|
Re: one line for combining line
by nyamned (Sexton) on Jul 13, 2010 at 17:25 UTC |