Search Results

Search: Posts Made By: mavkoup
3,288
Posted By mavkoup
I never got the hang of awk, and I can't get that...
I never got the hang of awk, and I can't get that command to work lol. I'll keep working on it.

---------- Post updated at 10:37 AM ---------- Previous update was at 09:36 AM ----------

Arg I'm...
3,288
Posted By mavkoup
But the file I'm selecting text from already...
But the file I'm selecting text from already contains the path names. Replacing them in the file is not appropriate. My file has a bunch of

BEGIN path name

some text

END
BEGIN another path...
3,288
Posted By mavkoup
Path a variable to sed that includes a path
Hi I'm trying to select text between two lines, I'm using sed to to this, but I need to pass variables to it. For example

start="BEGIN /home/mavkoup/data"
end="END"

sed -n -e...
Showing results 1 to 3 of 3

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