Search Results

Search: Posts Made By: Thinkpositiv
58,776
Posted By Thinkpositiv
Hi, I'm back with a similar issue :) ...
Hi,

I'm back with a similar issue :)
Basically I'm grep'ing a file for a pattern. The pattern contains " (double quotes) and a space. So I escaped the quotes. But how do I use this variable in...
58,776
Posted By Thinkpositiv
Well, I got it myself. I missed the double quotes...
Well, I got it myself. I missed the double quotes when using the variable (not a declaration time of the variable)!

#!/bin/ksh
typeset pattern="[a-zA-Z ]{30}:"
echo "Command to be executed: grep...
58,776
Posted By Thinkpositiv
Hi, I also need some quoting help. I tracked...
Hi,

I also need some quoting help. I tracked my problem down in a simple example.
I have a grep that is working if typed at the shell prompt (it is important for me to have a space in the...
Showing results 1 to 3 of 3

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