Search Results

Search: Posts Made By: aukequist
2,333
Posted By aukequist
Ok tnx! I used: ...
Ok tnx! I used:

i106111@idcsrv02:/local1/home/i106111 $ echo "auke's test's" | sed -e "s_'_''_g"
auke''s test''s
i106111@idcsrv02:/local1/home/i106111 $

Works fine!
2,333
Posted By aukequist
How to replace within a string
i have input argument for a script which i catch in variable like this

P_TEXT=$1

Argument 1 is text string where the character ' needs to be replaced by two single quotes.
So text="test' one...
2,434
Posted By aukequist
This helps a bit, any other suggestions still...
This helps a bit, any other suggestions still welcome
2,434
Posted By aukequist
Update specific lines in a file
Hi all,
I want to add a special character ^M to a line, if the line starts with ORDE.
All the other lines should remain unchanged.
Is there sed or other UNIX function who can do this.

Thanx in...
19,788
Posted By aukequist
How to write an OR statement
Hi all,
I want to check if the first or the second or the third argument of call to a shell script is empty.

How do i do that in a short way. I watched some examples and i believe
if [ .$1 = . ]...
Showing results 1 to 5 of 5

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