Search Results

Search: Posts Made By: shikshavarma
1,593
Posted By shikshavarma
Thank's a lot .that's all i was looking for it...
Thank's a lot .that's all i was looking for it rocks now.
1,593
Posted By shikshavarma
This works but I am looking to use a string...
This works but I am looking to use a string manipulation function to get this done.


/xxx/ { time = gensub(/xxx \*\*\*(.*)/, "\\1", "g") printf("%s\n",time) next }

...
1,593
Posted By shikshavarma
Terminate left side portion of a string
I have a awk file which consists of the follwoing code in file select.awk :
/xxx/ {
time = gensub(/xxx \*\*\*(.*)/, "\\1", "g")
printf("%s\n",time)
next
}
and an input...
6,686
Posted By shikshavarma
display unique words.
I am having a file with duplicate words how can I eliminate them


ant,bat
bat,cat

cat a.txt | grep -bat | awk '{print $1}'

expecting o/p as ant,bat,cat


How can I display the...
1,346
Posted By shikshavarma
search condition in awk
I am testing few existing scripts in our environment as we have migrating from redhat linux 4 to 5 & above.

I am stuck up with one of the script where the search condition is ...
Showing results 1 to 5 of 5

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