Search Results

Search: Posts Made By: Kochu77
3,285
Posted By Kochu77
current shell = echo $SHELL this o/p right. ...
current shell = echo $SHELL this o/p right. please advice if i am running in ksh what will be the difference from sh ( kron /bash).
1
Awk
787
Posted By Kochu77
Awk
Name Age Hobbies Location
Sam, 21, Football,Reading, NY
Xaiv, 21, Reading NY

I need to get location from this file.

I am usinf cat <filename> | awk -F',' '{print...
3,285
Posted By Kochu77
Shebang
If i am not using #! in my script. By default where will be my script running?
24,073
Posted By Kochu77
worked thanks
worked thanks
24,073
Posted By Kochu77
adding value to variable using expr
for i `cat abc.txt`
do
m= `expr $i + 2`
echo $m
done
i wrote this script to assing value to m. but i got the error

"a.sh[6]: 423: not found"

please help me to sort out this issue
1,732
Posted By Kochu77
thanks a lot chris its working :) thanks
thanks a lot chris its working :) thanks
1,732
Posted By Kochu77
using variable in sed
i need to use a value in the Variable to print a particular line from a file using sed command.

i tried the below one but its is not working

sed -n ' "$var"p ' abc.txt

but its is not...
4,941
Posted By Kochu77
using variable in sed command
HI,

i need to use a variable in sed command to print a particular line

i tried sed -n ' "$Var"p ' abc.txt

but it is not working please help me to use a variable in the sed......:(
4,941
Posted By Kochu77
About shell script to check well formedness of XML
HI team,

I want to write a shell script to check weather a xml is in well from or not ? but i didn't get any infromation regarding this. i got some python script however its not working well in...
Showing results 1 to 9 of 9

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