Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: "MLUG Members" <EMAIL:PROTECTED>
- Subject: RE: [MLUG] prepending a file
- From: "Woodsmall, Ryan \(IATS\)" <EMAIL:PROTECTED>
- Date: Wed, 3 Mar 2004 09:53:22 -0600
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
- Thread-index: AcQA2ynefBk+6abXQPCK6nbRUe1R/AAAtM1QABZAOgA=
- Thread-topic: [MLUG] prepending a file
Why are you all making this so hard? This should work in bash/sh and
csh/tcsh:
( cat tmp2 ; cat tmp1 ) > out && mv -f out tmp1
You can run commands in the parens as well; just separate everything
with semicolons. No Perl needed. The awk solutions are probably the
cleanest though.
ryan woodsmall
EMAIL:PROTECTED
> -----Original Message-----
> From: EMAIL:PROTECTED
> [mailto:EMAIL:PROTECTED] On Behalf Of Brent
> Deterding
> Sent: Tuesday, March 02, 2004 11:12 PM
> To: 'MLUG Members'
> Subject: RE: [MLUG] prepending a file
>
> Yep - thought there might be a slicker way that moving it
> around to a temp file that I didn't realize - thanks!
>
> -- Brent
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members