![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deleting lines inside a file without opening the file | toms | Shell Programming and Scripting | 3 | 09-24-2007 04:58 AM |
| making change in file without opening it | naamas03 | Shell Programming and Scripting | 0 | 04-04-2006 01:11 AM |
| Opening a file during FTP | ceaker | High Level Programming | 1 | 03-31-2006 11:40 PM |
| delete file without opening vi | lweegp | UNIX for Dummies Questions & Answers | 7 | 01-25-2006 11:23 AM |
| opening a file | hiei | UNIX for Dummies Questions & Answers | 4 | 03-31-2004 09:24 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
Quote:
Quote:
|
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Not to be a nay-sayer here, but it is not possible to use any text or stream command on a file without first opening the the input file. The folks who gave you answers know this, and were smart to bypass this apparent requirement.
There is no way to get data out of a file without reading the data from disk. Period. |
|
#10
|
|||
|
|||
|
very true jim,
a closed file would remain unchanged, though the solutions provided apparently first opens the file and then only proceeds executing. i believe - opening a file - as the request means - physically opening it through any of the editor and modifying it - may be that one. And identifying the list of datablocks pertaining to an inode and modifying could be another way. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|