Search Results

Search: Posts Made By: keerthan
1,133
Posted By keerthan
Thank u very much
Thank u very much
1,133
Posted By keerthan
No of columns in a variable
Hi

How do i find the number of columns in a variable

For example

I have a variable

abc=1-2-3-4-5-6-7

I should calculate the number of columns and the result should be 7.
...
7,935
Posted By keerthan
Hi Kurumi, Whats the significance of using...
Hi Kurumi,

Whats the significance of using a .


sed -n '/.[^,]*,.[^,]*,.[^,]*,[0-9]\+,.[^,]*,[0-9]\+/p' file


Thanks in advance

Keerthan
7,935
Posted By keerthan
WHats the keyword to find out if its a string...
WHats the keyword to find out if its a string instead of a number.
7,935
Posted By keerthan
How to check if a column is having a numeric value or not in a file?
Hi,

I want to know, how we find out if a column is having a numeric value or not.

For Example if we have a csv file as

ASDF,QWER,GHJK,123,FGHY,9876
GHTY,NVHR,WOPI,623,HFBS,5386

we...
3,935
Posted By keerthan
Date Format Change
Hi I have a date format in a variable as Mon Jan 11 03:35:59 2010. how do i change it to YYYYMMDD format
Showing results 1 to 6 of 6

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