Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use split and cat to make segments and rejoin them' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use split and cat to make segments and rejoin them
Authored by: tirerim on Jan 31, '06 08:26:11AM
Or, if you have a bunch of segments and don't want to type them all out:

cat MySegment* >> MySegmentaa

The wildcard should expand in standard alphabetical order.

[ Reply to This | # ]

Use split and cat to make segments and rejoin them
Authored by: boredzo on Feb 01, '06 11:25:52PM

no; MySegment* would include MySegmentaa, so that when you appended all three to MySegmentaa, the contents of MySegmentaa would appear twice in the result.

and > (overwrite) would not work, because then there would be no MySegmentaa to read from.



[ Reply to This | # ]