The printtoraw program is a stand-alone utility provided with the WRspice distribution. This converts the data in files produced by the print command using output redirection into the rawfile format, which can be plotted. This works only for print files in the standard columnar form.
Usage: printtoraw [printfile]
The argument, if given, is assumed to be a path to a file that was produced by the WRspice print command through redirection. If no argument is given, the standard input is read. The data are converted to rawfile format and dumped to the standard output.
wrspice> print v(1) v(2) v(3) > myfile
bash> printtoraw myfile > myfile.raw
wrspice> load myfile.raw
wrspice> plot all