Search Results

Search: Posts Made By: bsathishmca
1,750
Posted By bsathishmca
Thanks for your reply. I dont not want to...
Thanks for your reply.

I dont not want to split the value.I want it as whole 1A2 into integer.

I want to use this value in array index as belue

Array[1A2] - now i am getting error like "bad...
1,750
Posted By bsathishmca
Alphanumeric to integer
Hi folks,

I have a value like A12,i could able to change this into integer using typeset as below
typeset -i A12

But, I need your advice to change the values like 1A2 or 12A into integer.
...
6,974
Posted By bsathishmca
How to check the file size in a dir
Hi all,

I need to check the size of all files in a DIR.Can any one help me out from this?

This is my code:

filenames=`ls -l | cut -c 55-90`
for f in $filenames
do
if [(ls -ltr $f| cut...
2,321
Posted By bsathishmca
i need 100th occurance of a letter in file
Hi to all,

I am looking a file in vi editor to get 100th occurance of a latter in that file.

Can any one help me in this?

Thanks

Sathish
82,243
Posted By bsathishmca
How to get nth line from a file usuing commands
Hi to all,

I have a file with 1000 lines,Now i need to get 789th record.So please any one help me out from this.

Thanks in advance.

Sathish
Showing results 1 to 5 of 5

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