![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
awk help
Hi
Using awk,want to remove file extension.Below command giving error echo 'a1.txt' |awk '{print substr($0,1,index($0,'.')-1}' o/p suould be a1 Thanks in advance MR |
| Forum Sponsor | ||
|
|