Search Results

Search: Posts Made By: smac
9,802
Posted By smac
nevermind...figured it out. thanks!
nevermind...figured it out. thanks!
20,052
Posted By smac
ah...sorry, forgot the -n... hhmm j=245...
ah...sorry, forgot the -n...

hhmm

j=245
sed -n "$j"p $filename #works for me

but i'm obviously too new to understand...much less help!

sorry! and cheers!
20,052
Posted By smac
try: sed "$j"p
try:

sed "$j"p
9,802
Posted By smac
thanks for replying Perderabo, but i was probably...
thanks for replying Perderabo, but i was probably not clear.

file one actually has 7 lines. i want to replace the first 4 lines of file2 with file1.

so i copied file1 to temp1 (new file), then...
9,802
Posted By smac
appending a file using sed in ksh
i am trying to append a 5 line SGML file(file1) with a 500,000 line SGML file (file2).

file1 is a template, so i wish to preserve.
i only want to add lines 5 to the end of file2.

i have:
cp...
Forum: Solaris 12-06-2007
2,026
Posted By smac
Server Installation Help
Forgive me for posting this. That was the wrong way to install the NXServer.

If anyone has documentation links, let me know please.

Thanks.
Showing results 1 to 6 of 6

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