Search Results

Search: Posts Made By: gshepherd7
17,924
Posted By gshepherd7
Okay...thanks for the help. That's what I ended...
Okay...thanks for the help. That's what I ended up starting to do.
17,924
Posted By gshepherd7
My bad on the quotes... When I run it, it does...
My bad on the quotes... When I run it, it does what I expect, however my a_Overview2_New.xml file is now empty. I want that file to contain:

line 1
line 2
para 1
para 2
line 3
line 4
17,924
Posted By gshepherd7
I tried that and I get the following error: ...
I tried that and I get the following error:

sed: -e expression #1, char 3: extra characters after command

Here's the line I tried:

sed '$POS r ${PACKAGE}.xml' < a_Overview2_New.xml
17,924
Posted By gshepherd7
Bash copy file contents into an existing file at a specific location
Hi all

I need to copy the entire contents of one file into an existing file at a specific location. I know the exact line number where I need to put it. It appears I would use either sed or awk...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy