unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Convert the shell command used in emacs init-file into its normal version.
@ 2021-06-09  6:49 Hongyi Zhao
  2021-06-09  6:58 ` Jean Louis
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Hongyi Zhao @ 2021-06-09  6:49 UTC (permalink / raw)
  To: help-gnu-emacs

I found the following command from
<https://github.com/jethrokuan/mathpix.el/blob/02016ca4aee9ffce32e730372f45de35c00a3657/mathpix.el#L49>:

"curl -s https://api.mathpix.com/v3/latex -X POST -H \"app_id: %s\" -H
\"app_key: %s\" -H \"Content-Type: application/json\" --data
\"{\\\"src\\\":\\\"%s\\\",\\\"formats\\\":
[\\\"latex_styled\\\"],\\\"format_options\\\":{\\\"latex_styled\\\":
{\\\"transforms\\\": [\\\"rm_spaces\\\"]}}}\""

I want to obtain its normal version and test it under the system's
shell terminal. Any hints for deleting the escape characters correctly
from the above command in Emacs way?

Regards
-- 
Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
NO. 552 North Gangtie Road, Xingtai, China



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-06-10  6:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-09  6:49 Convert the shell command used in emacs init-file into its normal version Hongyi Zhao
2021-06-09  6:58 ` Jean Louis
2021-06-09  8:03   ` Hongyi Zhao
2021-06-09  8:13     ` tomas
2021-06-09  8:22       ` Hongyi Zhao
2021-06-09  8:50         ` tomas
2021-06-09  8:26     ` Jean Louis
2021-06-09  7:23 ` Yuri Khan
2021-06-09  7:57   ` Hongyi Zhao
2021-06-09 11:37 ` Eli Zaretskii
2021-06-09 14:21   ` Hongyi Zhao
2021-06-09 17:17     ` Eli Zaretskii
2021-06-10  2:26       ` Hongyi Zhao
2021-06-10  6:59         ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).