Hacker News new | past | comments | ask | show | jobs | submit login

bash has functions; functions are just like commands. Write your comments in the functions, and your final line will be the pipeline of awesomeness:

   generate_data ()
       {
        # make it rain
       }

   process ()
       {
        # chunky
       }

   gather ()
       {
        # puree
       }
  
   generate_data | process | gather



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: