public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* $ escape sequence at build_rule.txt
@ 2016-12-12 10:31 peter.kirmeier
  2016-12-12 17:27 ` Andrew Fish
  0 siblings, 1 reply; 7+ messages in thread
From: peter.kirmeier @ 2016-12-12 10:31 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi all,

I tried to add a AWK replacement into the build_rules to become part of the generated makefiles:

    <Command>
        "$(TOOLS_DIR)\gawk.exe" "NF{gsub(/ *\\$$/,\"\"); print}" infile.in > outfile.out

Unfortunately I don't get it, how the dollar sign can be escaped to the doubled $$ which is used by make for placing a single $ at the command.

Can someone help?

Thanks,
  Peter

---
Peter Kirmeier
Senior Firmware Developer
Client Computing Devices Engineering

FUJITSU
Buergermeister-Ulrich-Strasse 100, 86199 Augsburg, Germany
Tel.: +49 (821) 804 3227
Fax: +49 (821) 804 83227
E-mail: peter.kirmeier@ts.fujitsu.com
Web: ts.fujitsu.com
Company: Fujitsu Technology Solutions GmbH / ts.fujitsu.com/imprint
This communication contains information that is confidential, proprietary in nature and/or privileged.  It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) or the person responsible for delivering it to the intended recipient(s), please note that any form of dissemination, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender and delete the original communication. Thank you for your cooperation.
Please be advised that neither Fujitsu, its affiliates, its employees or agents accept liability for any errors, omissions or damages caused by delays of receipt or by any virus infection in this message or its attachments, or which may otherwise arise as a result of this e-mail transmission.



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

end of thread, other threads:[~2016-12-15  6:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-12 10:31 $ escape sequence at build_rule.txt peter.kirmeier
2016-12-12 17:27 ` Andrew Fish
2016-12-12 21:49   ` Peter Kirmeier
2016-12-12 23:25     ` Andrew Fish
2016-12-14  7:02       ` peter.kirmeier
2016-12-14  7:06         ` Gao, Liming
2016-12-15  6:48           ` peter.kirmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox