Nov 24, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR any easy/short/oneliner way? to do what ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
any easy/short/oneliner way? to do what ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Nov 24, 2005 #3 dchoulette Programmer Jun 25, 2002 245 FR mv file file.orig && cat prefixfile file.orig > file -------------------- Denis Upvote 0 Downvote
Nov 24, 2005 #4 Ygor Programmer Feb 21, 2003 623 GB perl -pi -e '$.==1 && print "some text\n"' file1 Upvote 0 Downvote
Nov 24, 2005 1 #5 feherke Programmer Aug 5, 2002 9,540 RO Hi Yes, and all the other solutions already mentioned in thread822-1123906 ( appending text to the top of a file ). Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Yes, and all the other solutions already mentioned in thread822-1123906 ( appending text to the top of a file ). Feherke. http://rootshell.be/~feherke/