Search Results

Search: Posts Made By: felixmat1
4,690
Posted By felixmat1
calculate number of strings in a variable
Hi all

I have a variable called "variable" and is of the form
variable ="AAA BBB CCC DDD" {basically it has values separated by spaces}

What is the simplest way to check if "variable" has...
24,539
Posted By felixmat1
Vgersh, I have posted a sample in comment #1. ...
Vgersh, I have posted a sample in comment #1.
The only thing is that data values will be added to the "string" variable based on a condition. So for example string = aaa ccc ddd.

For example in...
24,539
Posted By felixmat1
Thanks guys, but lets assume that I have a really...
Thanks guys, but lets assume that I have a really long list, in which case I cannot be assigning variables for all these data values.
24,539
Posted By felixmat1
strcat equivalent in shell scripting
Hi all,
How does string concatenation work in shell scripting?

I basically have a variable called "string" and I want to add the strings "aaa" "bbb" "ccc" "ddd" to the variable "string". These...
Forum: Linux 06-19-2008
9,259
Posted By felixmat1
Hi Jim >>you are reading from "-" which is...
Hi Jim

>>you are reading from "-" which is stdin -- in this case the right hand side >>of the pipe

Can you explain this better (I mean the use of "-")? When I specify
"zcat <filename>.tar.Z...
Forum: Linux 06-19-2008
9,259
Posted By felixmat1
zcat on Linux
Hi

I am trying to extract a <filename>.tar.Z on a SLES machine using zcat.

The command I am using is
zcat <filename>.tar.Z | tar xf -

When I use the above I get the following message...
1,449
Posted By felixmat1
replace at specifcposition
Hi

#xxxxx abced

xxx_hij=

The above are two lines in a file. I would like to parse the file write a text line between the above two lines...like

#xxxxx abced
<write a text line here>...
6,767
Posted By felixmat1
Thanks............!
Thanks............!
6,767
Posted By felixmat1
mk file question
In a makefile when you specify something like....

xxx-xx:
-$(yyy) $(zzz)

What does the"-" (hyphen) before the "$" mean? (assuming xxx-xx is the target name)
Showing results 1 to 9 of 9

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