Search Results

Search: Posts Made By: rohit22hamirpur
2,549
Posted By rohit22hamirpur
Thanks for your help.I will try the code you gave...
Thanks for your help.I will try the code you gave it to me and also take care of your instruction given to me regarding tags


LOCATE=$( find /rohit/TEST/ -name "${b}_Release.txt" )
cat $LOCATE
...
2,549
Posted By rohit22hamirpur
Thanks for your help I was able to store the...
Thanks for your help

I was able to store the value of splash(2nd field) in variable .I want here in single command to search the file with that variable and store the content of that file in the...
2,549
Posted By rohit22hamirpur
I am not able able to understand how I I can find...
I am not able able to understand how I I can find the file with variable

like if variable stores b=SPLASH how I will search the file start with string SPLASH_Release.txt in number of files and...
2,549
Posted By rohit22hamirpur
cut the variable from the line and use it to find the file and read the content of that file
Hi,

I am working on one script..I am having files in the below format

file 1 (each line is separated with : delimeter) ...
2,140
Posted By rohit22hamirpur
Hi When I try the above coomand thrugh...
Hi

When I try the above coomand thrugh script is gives me wrong value



#!/bin/bash
#################################################################################################...
2,140
Posted By rohit22hamirpur
cut the last column from the link
Hi,

I need to cut the last of below link

lrwxrwxrwx 1 e027025 denccefs 36 Oct 21 02:30 prodcode1 -> /efare1/LINUXMTP-4/HOTFIX111019A_5U4/


after cut I need this value HOTFIX111019A_5U4...
2,093
Posted By rohit22hamirpur
Make script that run with argument if not run from configuration file argument
Hello,

Is there any method thorugh which script can take argument if pass otherwise if argument doesn't pass then it takes the argument from the configuration file

i.e I am workiing on a script...
3,702
Posted By rohit22hamirpur
Hi I will do it through the configuration...
Hi

I will do it through the configuration file where all tags will specified and script will run from the crontab and read that configuration file and will checkout each tag one by one...here my...
3,702
Posted By rohit22hamirpur
zip the folder and loaded to ftp
Hi ,

I am working on a script which will do the below things

1) It will checkout from the repository
2) then zip that checkout stuff
3) and put the zip folder to FTP server

Here my...
1,014
Posted By rohit22hamirpur
Can someone verify the code of two function
Input=D123,S1234,D345 | kESTREL PRODUCTION SUPPORT

echo -en "Enter the logmsg="
read logmsg
logmsg1=${logmsg%%|*};
echo "$logmsg1"|tr ',' '\n' | sed 's/[ \t]*$ | sed...
1,298
Posted By rohit22hamirpur
echo -en "Enter the logmsg=" {D1234,S1234 |...
echo -en "Enter the logmsg=" {D1234,S1234 | rohit singh}
read logmsg
logmsg1=${logmsg%%|*};
echo $logmsg1 |sed "s/$/,/g"|sed 's/[ \t]*$//'>pre-commit.config
logmsg_len2=$(echo ${logmsg} | awk...
1,298
Posted By rohit22hamirpur
the input was only D1234,S1234 | rohit singh no...
the input was only D1234,S1234 | rohit singh no braces so give the example in braces

Thanks
1,298
Posted By rohit22hamirpur
Induct two functions in a single function
echo -en "Enter the logmsg=" {D1234,S1234 | rohit singh}
read logmsg
logmsg1=${logmsg%%|*};
echo $logmsg1 |sed "s/$/,/g"|sed 's/[ \t]*$//'>pre-commit.config
logmsg_len2=$(echo ${logmsg} | awk...
2,449
Posted By rohit22hamirpur
After exit from function it should not call other function
Below is my script that is function properly per my conditions but I am facing one problem here that is when one function fails then Iy should not check other functions but it calls the other...
904
Posted By rohit22hamirpur
Code is perfect but the conditon was that there...
Code is perfect but the conditon was that there should be space left and right of the pipe symbol...and one more thing that is if length is above 7 it should be exited.


Please advise
904
Posted By rohit22hamirpur
Hi , Its working fine but here I want one...
Hi ,

Its working fine but here I want one more thing that if length is above 6 than it should be exited otherwise successful.

Thanks in advance

---------- Post updated at 02:08 AM...
904
Posted By rohit22hamirpur
Calculate the length of the each variable and matches to the desired value
My script is currently doing two function and I want to add one more as pre the question.



echo -en "Enter the logmsg="
read logmsg
logmsg1=${logmsg%%|*};
logmsg_len2=$(echo ${logmsg} |...
938
Posted By rohit22hamirpur
moves checkout files to local system
I am using my script which generally checkout the repository.Is there any coomand which can help me to checkout the repository not on that svn server while it moves it to your local system at the...
10,461
Posted By rohit22hamirpur
We can also generate the key through ssh-keygen...
We can also generate the key through ssh-keygen command and copy that key on that server where you want to ssh.
875
Posted By rohit22hamirpur
Need help to make a loop
Below is my code. I want a loop in this way that if folder has tag sub-folder then it will show the list of tags otherwise it will show the subfolders of that folder and then again user will select...
2,242
Posted By rohit22hamirpur
How we can create the master file through shell to show the tree structure of the directory?
Can we create the master file that show the whole tree structure of the directory till a particular folder?

Database that contains four sub repository Sybase,sql,oracle,mysql and sql and oracle...
1,193
Posted By rohit22hamirpur
help t export the variable from a particular file
Hello Guys,

I need you help to do one task

I have script which is actually doing to fetch the code of any repository in svn

for e.g.:- I can use svn to checkout the repository but I want...
1,306
Posted By rohit22hamirpur
I acheived this target without opening it.My...
I acheived this target without opening it.My purpose was to give the access to users who wanted an access on svn repository.I achieve it with
the help of sed command and I was able to scuuessfully...
1,985
Posted By rohit22hamirpur
Your code was echo "SPLASH/tags" | awk...
Your code was

echo "SPLASH/tags" | awk -F"/" '{print NF}'
so it was giving me the total number of fields
i.e. 2

exact code is

echo "SPLASH/tags" | awk -F"/" '{print $NF}'
whereas this...
1,985
Posted By rohit22hamirpur
Hi You code is correct but my requirement is...
Hi

You code is correct but my requirement is little bit differ this

read I; awk -F")" -v i=$I '$1 == i {print $2}' temp.txt3

Requirment
after pressing repo. number it store the value in...
Showing results 1 to 25 of 45

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