Search
 
SCRIPT & CODE EXAMPLE
 

C

make a function makefile

define generate_file
    sed 's/{NAME}/$(1)/' greetings.tmpl >$(2).txt
endef

all:
    $(call generate_file,John Doe,101)
    $(call generate_file,Peter Pan,102)
Comment

PREVIOUS NEXT
Code Example
C :: comment in c language 
C :: c get current month, year, day 
C :: casting an int to a char in c 
C :: read from stdin c 
C :: binary to decimal in c 
C :: malloc c include 
C :: c read n bytes code 
C :: search in gz file 
C :: equal string c 
C :: signal function c 
C :: bash get load average 
C :: how to take blank space in c scanf 
C :: print command for rust unit-test 
C :: how to get the lowest number on a array in c 
C :: multiplication of matrix in c 
C :: class in oops 
C :: faire une facture en langage c 
C :: . Simulate MVT and MFT. 
C :: c str add int 
C :: algorithm for dequeue 
C :: function that changes all lowercase letters of a string to uppercase. 
C :: find sum of all odd numbers from 1 to n using for loop 
C :: c arrays and pointers 
C :: Symmetrical matrix in C 
C :: fifo page algorithm in C 
C :: run a command in cmd with c 
C :: how to change the mapping from jkil to wasd in vim 
C :: c ausgabe 
C :: deepak 
C :: c limit value range 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =