Search Results

Search: Posts Made By: rkl1
1,937
Posted By rkl1
small script help
here is a small script:

if [ $# -lt 1 ]; then
echo please enter an argument
fi
if [ "$1" = "tom"; then
a=$1
echo $a
fi

here is my question. if the script name is j.sh and I run it : j.sh...
2,233
Posted By rkl1
Thanks
Guys,
thanks for all the help. It is not a home work although perfectly sounds that way. I have a long sql file which has many individual sql statements like analyze table (one liner). so what we...
2,233
Posted By rkl1
splitting file
Dear All,

Here I need some help. I have a file which has 100 lines and I like to split that file into 5 files each containing 20 lines.

so the wc -l bigfile gives me 100 lines. How I will make...
6,122
Posted By rkl1
sed -e 's/^isa//g' -e 's/[89][469][279]$//g'...
sed -e 's/^isa//g' -e 's/[89][469][279]$//g' td.txt

this takes out the isa from beginning and then the numbers (three numbers) from the end of the line.you may output this code to a new file once...
25,547
Posted By rkl1
I forgot to include the syntax done at the end of...
I forgot to include the syntax done at the end of the script.

thanks.
25,547
Posted By rkl1
You may Laugh!
since I dont have much experience in any thing: I will do this work in a simple but long way: so laughing is allowed looking at my code.

for file in `cat t40.txt|nawk '{print $3}'`;do
n=`echo...
Showing results 1 to 6 of 6

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