Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Camogli

    How to make 'print' or 'echo' keep leading blanks?

    I left out some details. ;-) I need to insert a block of text at a very specific place in that file. Therefore, I need to read each line in order to find out if it's time to insert the block. I can't just use 'cat'. Also, the "signaling" line does not appear in a fixed line number or...
  2. Camogli

    How to make 'print' or 'echo' keep leading blanks?

    Hi, I simply want to read each line in a file, and then spit it out faithfully to STDOUT. The problem is when I use 'print' or 'echo' to spit out the line, the leading blanks are stripped, i.e. original " hahaha", after 'print' or 'echo', it becomes "hahaha". I need the...

Part and Inventory Search

Back
Top