Search Results

Search: Posts Made By: prav076
1,554
Posted By prav076
Thank you all for your reply:)
Thank you all for your reply:)
1,554
Posted By prav076
Finding all the files in a directory
I need to find all the files with a given file name present in the sub directories and execute a script on each file

For example In the directory source , I need to find all the files named test...
1,736
Posted By prav076
Thanks Vidyadhar for your help , the code is...
Thanks Vidyadhar for your help ,
the code is working fine:)
1,736
Posted By prav076
I have used the code tags
I have used the code tags
1,736
Posted By prav076
Overwriting the leading spaces in NAWK
I have a file

1 1 40421 120 18421 112h 019 6 10335 03
1 1 40421 120 18422 124h 055 6 10335 03 I have wriiten a nawk statement
nawk '$5 ~ "18421"...
3,101
Posted By prav076
Passing the nawk variables to the shell
nawk '($1 ~ "1000") && ($1 ~ "5665" ) { sub ($6,"89");flag =1;print }' old.txt >> new.txt I want to set a flag in awk , if the both conditions are met. I want to pass this flag to shell Can anyone...
2,602
Posted By prav076
Sorry I should have mentioned that the OS is Sun...
Sorry I should have mentioned that the OS is Sun Solaris 5.10.
{sub($5,"7kk");print}' works in nawk

Thanks again
2,602
Posted By prav076
Thanks a lot for your reply , but the command sub...
Thanks a lot for your reply , but the command sub did not work
2,602
Posted By prav076
Write a new value to a column in AWK
I have a file with columns which are separated by tabs and spaces like

111 333 444 555 7gg
333 555 678 778 6yy

I need to write a AWK commmand , to search for a pattern in...
Showing results 1 to 9 of 9

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