to compare binary files cmp does a better work than
diff. to answer your question ...echo might be adding
a new-line char (\n) at the end of the file, why don't
you try printf, most shells include such, also try the
echo switches not to print the new-line at the end of
the command (for bash: echo
Hello.
Maybe mysql puts the name of the column (firmwareimage),
at the beginning of the output (--skip-column-names should prevent it).
Rakesh Gupta [EMAIL PROTECTED] wrote:
Hi There,
I am trying to insert blob in table and then retrieve it from table using
Linux
Hi There,
I am trying to insert blob in table and then retrieve it from table using
Linux shell. Here is script that i used.
Load Blob into DB and Retrieve it using linux shell.
# add firmware into DB
ACTION=insert into FIRMWARE
(firmwarename, releasedate, bootcodename, usermanualname,