Search Results

Search: Posts Made By: rakeshtomar82
1,553
Posted By RudiC
Did you try anything to debug "your" awk...
Did you try anything to debug "your" awk code?
1,553
Posted By sea
Maybe this could get you started: FILE1=file1 ...
Maybe this could get you started:
FILE1=file1
FILE2=file2
while IFS=":" read _ DESC VER
do
ver=$(awk -v DESC="$DESC" '/DESC/ {print $2}' $FILE2|sed s,"\[|\]",,)
printf '%s\n' \
"Version...
1,535
Posted By RudiC
Don Cragun: If you are using a Solaris/SunOS...
Don Cragun: If you are using a Solaris/SunOS system, use /usr/xpg4/bin/awk or nawk instead of awk .
1,252
Posted By Aia
Try typeset -x var1='coep -n ...
Try
typeset -x var1='coep -n rst-a2p-hinje.vci.all.com -c'
perl -pi -e 's/^/$ENV{"var1"} /' command.txt
4,274
Posted By RavinderSingh13
Hello Rakesh, Following may help you in...
Hello Rakesh,

Following may help you in same. Please use code tags for commands/code/Inputs you use in your posts as per forum rules.

while read var1 var2
do
First_var=$var1;
...
1,258
Posted By Scrutinizer
Hi, use single = signs and use proper spacing...
Hi, use single = signs and use proper spacing around the brackets..

if [ "$own" = 'right' ] || [ "$own" = 'wrong' ]
Showing results 1 to 6 of 6

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