help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

concatenate words with no space


From: Robert Swan
Subject: concatenate words with no space
Date: Fri, 13 Jun 2008 13:14:25 -0400

Can anyone provide a method to concatenate a directory listing into a
list of directory names separated only by semicolons without any
spaces? I have

incs=$(subst /,;,$(sort $(dir $(wildcard */*.h))))

which gives something like

 main; app; db;

but I need

  main;app;db

Thanks,
Robert




reply via email to

[Prev in Thread] Current Thread [Next in Thread]