ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson \(KI/EAB\)" <>
Subject Add html tags in a text file
Date Thu, 11 May 2006 05:34:22 GMT

I have a plain text file. I need to insert <html> at the very beginning
of the file and at the very end (</html>). And then change the file

I shell script I could use something like:

cat $1 | sed "s/^/<html>/g" | \
sed "s/$/<\/html>/g" >$1.html

Is there a similar function in ant?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message