Search Results

Search: Posts Made By: Ohji
17,765
Posted By Ohji
Substitution using sed
I know we can substitute a string using sed but how?

For example: sed 's/(old variable)/(new variable)/ details.dat

Am I suppose to put $old variable or whatever? Because I tried many times, it...
10,186
Posted By Ohji
Delete function
I need to delete a certain data in a file. May I know how to do it by using awk, sed any shell command?

For example, i have a file details.dat. The user will search in that file for a particular...
15,623
Posted By Ohji
Search using sed
May i know how to perform a search using sed? For example, a user enter a string, and i need to search it in a file details.dat to verify it. And additional how to create a auto-generate number? And...
Showing results 1 to 3 of 3

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