Search Results

Search: Posts Made By: abhinavsinha
8,207
Posted By abhinavsinha
Thanks for your reply.But what I need is,I want...
Thanks for your reply.But what I need is,I want to delete starting commas from the variable (say $str) and the changes should be made to the original variable so that when I access $str the next...
1,571
Posted By abhinavsinha
Deletion of starting commas
There is one question. I have a string(suppose $str). If it starts with a comma(there can be more than one comma at the start),I have to remove all the commas from the beginning.So i have to check if...
8,207
Posted By abhinavsinha
There is one more question. I have a...
There is one more question. I have a string(suppose $str). If it starts with a comma(there can be more than one comma at the start),I have to remove all the commas from the beginning.So i have to...
8,207
Posted By abhinavsinha
Thanks a lot Annihilanic. It is working now.
Thanks a lot Annihilanic. It is working now.
8,207
Posted By abhinavsinha
Please help me.
Please help me.
8,207
Posted By abhinavsinha
If conditional
Hi,

I am new to unix and shell scripting.In my script,there is a line using the "if" conditional -

if [$x != "," ] && [$x != ","]; then
do something

Here "x" is a variable holding string...
6,568
Posted By abhinavsinha
If conditional
Hi,

I am new to unix and shell scripting.In my script,there is a line using the "if" conditional -

if [$x != "," ] && [$x != ","]; then
do something

Here "x" is a variable holding...
1,393
Posted By abhinavsinha
Hi, This is the content of the file - ...
Hi,
This is the content of the file -

---------------------------------------------------------------------------
CFG_VERSION=320
CFG_EMCMODEL="118032400-A06"
CFG_CHASSIS="1"...
1,393
Posted By abhinavsinha
Hi, Please at least let me know how the...
Hi,

Please at least let me know how the following line works to split a string -

eval "$val=\"${!val#*[,;]}\""
1,393
Posted By abhinavsinha
Need help with shell script
Hi,

I have a shell script which reads a file and checks for the attributes and its values in the file.The values are comma/semicolon separated so a splitting mechanism is used.Here is the relevant...
2,088
Posted By abhinavsinha
Building project using MAKE
Hi,
I have a build script in perl to build projects in my team.It is using MakeMaker.I have a problem now.When I build a project and a tarball is created,I untar the tarball to get the files.Now...
17,938
Posted By abhinavsinha
Use of curly braces with variables
Hi,
I am new to shell scripting.I have worked somewhat with Perl though.
I am not able to find what the second line does and how does it do.

<code>
FP_RUNNING=`service filepool status`...
Showing results 1 to 12 of 12

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