Search Results

Search: Posts Made By: chandana hs
1,351
Posted By chandana hs
Hi, Thank you. I meant to say if true code...
Hi,
Thank you.

I meant to say if true code block, not loop. Sorry.

But your answers explains me, that there is no special meaning to it. but used during development.

Regards,
Chandana
1,351
Posted By chandana hs
Explaination on if true
Hi Team,
I need to know why ppl use If true loop instead of just writing down the sequence of code lines.
1:

echo "Line1"
if true; then
echo "Line2"
fi
echo "Line3"
2:

echo "Line1"
echo...
2,424
Posted By chandana hs
Running backend processes in ssh
Hi Team,
i have a script alloc.sh on server1

main () {
if [ "$1" == "REQUEST" ] ; then
(nohup ./alloc.sh ALLOCATE 5400 isogen_alloc_$2 < /dev/null 2> /dev/null &)
echo ALLOC_OK
...
2,016
Posted By chandana hs
Thanks All :) It worked, It was very...
Thanks All :)

It worked,

It was very helpfull.

Regards,
Chandana
2,016
Posted By chandana hs
Reading line in while loop
Hello Team,
i have to read line by line in a while loop, and the input file has:.
# The script will start cppunit test application to run unit tests.
-LD_LIBRARY_PATH=$CPPUNIT_HOME/lib:\...
6,256
Posted By chandana hs
Thanks, Got it. $ cat test1.txt |sed...
Thanks,

Got it.

$ cat test1.txt |sed -n -e 's/.*\([0-9]\{6\}\).*/\1/p'
370956
6,256
Posted By chandana hs
Regular expression for 6 digit number present in a line
Hello Team,
i have a file test1.txt, in which i have to grep only the 6 digit number from it,
Could you pls help in this.

$cat test1.txt
<description>R_XYZ_1.6 r370956</description>
$ grep...
1,574
Posted By chandana hs
Hello, Thanks, the solution provided worked... ...
Hello,
Thanks, the solution provided worked...

Sorry for the missing input file.

$ grep -e "Cyclomatic complexity" -e ";add;" inspect_64d_369980 | head -5
...
1,574
Posted By chandana hs
Explaination on Behavior of awk command
Hello Admin,
Could you pls explain on the below behavior of the awk command.

$ awk -F">20" "/Cyclomatic complexity/ && /;add;/{print \$1}" inspect_64d_369980 | awk '{print $NF}' | sort | tail -1...
1,212
Posted By chandana hs
Thanks for replying, pls find my output below,...
Thanks for replying,
pls find my output below, where i'm not able to find the mentioned required lines:

$ grep "@param" delete
+ * @param alarmState state of alarm.
+ *...
2,918
Posted By chandana hs
Hi Bakuni, Thanks for the help..! It...
Hi Bakuni,

Thanks for the help..! It worked..:)!

Regards,
Chandana
1,212
Posted By chandana hs
Help with Grep pattern
Hello Admin,
i need a grep pattern for the following requirement, Could you pls help.

Used Grep pattern : egrep "^[+-]([^+-].*|)$" inputfile

i have input file:
+
++++
-
------
+jfsfkjf...
2,918
Posted By chandana hs
Automation of keyboard inputs..like Ctrl+d and Ctrl+a
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..

So i'm trying to use command 'screen'. which is doing exactly what...
Showing results 1 to 13 of 13

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