![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | 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 |
| Copy lines from a log file based on timestamp | ranjiadmin | UNIX for Advanced & Expert Users | 1 | 05-22-2008 12:16 AM |
| Extract lines from a file automatically. Please a Help | alexcol | Shell Programming and Scripting | 8 | 12-16-2006 01:25 PM |
| Is there a way to automatically prepopulate a password field? | chrchcol | Shell Programming and Scripting | 6 | 07-31-2006 01:24 PM |
| Grabbing lines out of a file based on a date | bsp18974 | Shell Programming and Scripting | 2 | 07-17-2006 05:58 AM |
| Append a field to the end of each line of a file based on searching another file. | ultimate | Shell Programming and Scripting | 2 | 03-29-2005 07:21 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
add lines automatically based on a field on another file
hello
I have a number of lines that need to be added at the end of a file each time I add a field in another file (let's name it file2) file2 has this format: filed1:field2 Whenever I add a path field, I should add to file1 these lines: <Location path1> DAV svn SVNParentPath path1 Options FollowSymLinks AuthBasicProvider ldap <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> AuthType Basic AuthZLDAPAuthoritative off SetOutputFilter DEFLATE \.(?:gif|jpe?g|png)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary </Location> any idea? thanks. |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|