Thanks. I didn't know anything about uuencode and uudecode. But it worked great for me!! Andrew McNabb wrote:
You should really be using uuencode or one of the other techniques for encoding binary files as ascii text. On Wed, Dec 12, 2007 at 02:13:38PM -0700, Eduardo Sanz-Garcia wrote: This is a crazy idea. Sorry for my ignorance. I want to create a bash script that contains a binary file using a here document: cat> image.jpg<<'Here_the_binary' binary code Here_the_binary It is not working. Is there a way to create an script that auto contains a binary file, for example an image? -------------------- BYU Unix Users Group [1]http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: [2]http://uug.byu.edu/mailman/listinfo/uug-list References 1. http://uug.byu.edu/ 2. http://uug.byu.edu/mailman/listinfo/uug-list -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/mailman/listinfo/uug-list
