skip to main | skip to sidebar

linuxjunk

Monday, April 28, 2008

print 5th through 40th entries on a line using awk

awk '{n=5; for(n=5;n<40;n++) printf $n " "; printf "\n"}'
Posted by new at 3:44 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (2)
    • ►  June (1)
    • ►  April (1)
  • ►  2010 (33)
    • ►  November (4)
    • ►  August (2)
    • ►  July (3)
    • ►  June (2)
    • ►  May (1)
    • ►  April (2)
    • ►  March (7)
    • ►  February (6)
    • ►  January (6)
  • ►  2009 (66)
    • ►  December (4)
    • ►  November (11)
    • ►  October (8)
    • ►  September (8)
    • ►  August (9)
    • ►  July (2)
    • ►  June (1)
    • ►  May (3)
    • ►  April (3)
    • ►  March (4)
    • ►  February (10)
    • ►  January (3)
  • ▼  2008 (40)
    • ►  December (1)
    • ►  November (6)
    • ►  October (4)
    • ►  September (4)
    • ►  August (1)
    • ►  July (2)
    • ►  June (5)
    • ▼  April (10)
      • Average a bunch of lines (C++)
      • print 5th through 40th entries on a line using awk
      • grep for a tab character
      • Pull files out of a runfolder and stick them here ...
      • map const accessor
      • striping html
      • OM digial back
      • Dependant names
      • grep with OR
      • Count number of A,T,G and Cs in first base of each...
    • ►  March (2)
    • ►  February (4)
    • ►  January (1)
  • ►  2007 (48)
    • ►  November (1)
    • ►  October (1)
    • ►  September (2)
    • ►  August (14)
    • ►  July (4)
    • ►  June (7)
    • ►  May (3)
    • ►  April (2)
    • ►  March (2)
    • ►  February (5)
    • ►  January (7)

Contributors

  • Niall Haslam
  • new

Links

  • Format Source Code for Blogs
  • GCC compiler errors