Search Results

Search: Posts Made By: govindjoshi
6,332
Posted By govindjoshi
cat >temp govind govindgovind govind cat...
cat >temp
govind govindgovind govind

cat temp|sed 's/govind/-/g'|tr ('s/govind/@-/g'|tr) -d "\n"|wc -c
4

Please use tags where appropriate, thank you
4,649
Posted By govindjoshi
$0 ---->represent program name so when u write...
$0 ---->represent program name
so when u write $0 in script it will always give your program name.
But when u write echo $0 on prompt it will give SHELL name which is also a program
34,160
Posted By govindjoshi
instead of while loop use for loop it will...
instead of while loop use for loop
it will slove th problem...
Showing results 1 to 3 of 3

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