SpringOne 2GX 2011

Chicago, October 25-28, 2011

seq Unix Utility for MacOS X

Posted by: Bruce Snyder on 10/17/2008
Today I needed the seq Unix utility and I discovered that MacOS X does not have it. Neither does MacPorts :-(. So I Googled for it and found that scripting god Dave Taylor (who lives in Boulder) has a blog post about this. He provides a shell script that produces basic seq functionality and it works great. Now I'm able to write quick little one-liners like this:

for i in $(seq 1 10); do cp ~/tmp/cheese.xml ~/tmp/cheese$i.xml; done

Thanks, Dave!

About Bruce Snyder

Bruce Snyder

Bruce Snyder is a veteran of enterprise software development and a recognized leader in open source software. With over a decade of experience, Bruce has worked with a wide range of technologies including Java EE, Enterprise Messaging and Service Oriented Integration. In addition to his role as a senior software engineer at SpringSource, Bruce is also an Apache Member, a co-founder of Apache Geronimo and a developer for Apache ActiveMQ, Apache Camel and Apache ServiceMix. He is the co-author of Professional Apache Geronimo, Beginning Spring Framework 2 both from Wrox Press and is currently co-authoring ActiveMQ In Action for Manning Publications. Bruce also serves as a member of various JCP expert groups and is a recognized international speaker at industry conferences. Bruce lives in beautiful Boulder, Colorado with his family.

More About Bruce »

NFJS, the Magazine

December Issue Now Available
  • BDD and REST

    by Brian Sletten
  • Mocks and Stubs in Groovy Tests

    by Kenneth Kousen
  • Algorithms for Better Text Search Results

    by John Griffin
  • Knowns and Unknowns of Scrum and Agile

    by Brian Tarbox
Learn More »