Search Results

Search: Posts Made By: Alex400
4,638
Posted By Alex400
nope AIX
nope AIX
4,638
Posted By Alex400
not working: output $ echo "1 2 3" | sed...
not working: output
$ echo "1 2 3" | sed "s/2/\nhoi/"
1 nhoi 3
4,638
Posted By Alex400
not working
not working
4,638
Posted By Alex400
SED sub commands in KSH not working for me
I am using SED to edit a file (called file)
the file contains the word "ERROR"
and I want to use SED to:

1. Search for text "ERROR"
If found,
2. Append new line with text "hoi"

I tried: ...
1,742
Posted By Alex400
sorry did not mention: #!/usr/bin/ksh :)
sorry did not mention:

#!/usr/bin/ksh :)
1,742
Posted By Alex400
still not working...
still not working...
1,742
Posted By Alex400
sorry, that was typo. But still when I enter...
sorry, that was typo. But still when I enter [space] it is just rerunning the function.
I think it is because $i is not set when enter a space (or even multiple space)
only when entering something...
1,742
Posted By Alex400
space not allowed in input
I have this script. (options is an array) It works fine. It responds fine to all items that are stored in the array. But when I press spacebar when I am asked for input. It will not give an error...
Showing results 1 to 8 of 8

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