I used to ride with a guy who crimped old spoke nipples to the end of his cables.
Having said that, a drop of super glue can also hold the cut end together well.
However, I use the right part for the job - cable end caps crimped on. Why mess around with anything else when the simplest solution is right at the LBS?