![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VIM tabs... | xyzt | UNIX and Linux Applications | 2 | 06-10-2008 02:27 PM |
| Color those tabs! | iBot | UNIX and Linux RSS News | 0 | 12-10-2007 05:40 AM |
| removing certain tabs | djkane | Shell Programming and Scripting | 2 | 08-17-2006 06:58 AM |
| removing tabs | nbvcxzdz | Shell Programming and Scripting | 7 | 03-29-2005 11:49 AM |
| Cron Tabs | rocker40 | UNIX for Dummies Questions & Answers | 1 | 12-23-2003 12:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
cat command in sh and tabs
Hi guys, I'm writing an assignment for a programming course and I'm using cat to cat out 8 lines of a file to be used later
curSection=`cat $FILENAME|head -$start|tail -8` I found that if the original file contains tabs in those lines, curSection will not have tabs but a space for each tab. I need to keep track of the tabs that existed in the original, any ideas how to do this?(tabs and spaces both exist in the original) As simple as possible please many thanks Jay |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|