Nov 24, 2005 #1 ogniemi Technical User Joined Nov 7, 2003 Messages 1,041 Location PL any easy/short/oneliner way? thx, r, m.
Nov 24, 2005 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location 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 Joined Jun 25, 2002 Messages 245 Location FR mv file file.orig && cat prefixfile file.orig > file -------------------- Denis Upvote 0 Downvote
Nov 24, 2005 #4 Ygor Programmer Joined Feb 21, 2003 Messages 623 Location GB perl -pi -e '$.==1 && print "some text\n"' file1 Upvote 0 Downvote
Nov 24, 2005 1 #5 feherke Programmer Joined Aug 5, 2002 Messages 9,541 Location 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/