Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: codemaniac
Posted By Scrutinizer
Actually, quotes are only needed here if you want...
Actually, quotes are only needed here if you want to add spaces or special characters but not if they are in the content of the variables. During assignment there is no expansion of the contents of...
Posted By agama
@codemaniac: your shorter version doesn't work...
@codemaniac: your shorter version doesn't work for the case below:

type of atoms z vz
Si 34 54
O 35 56
H 14 13
Si 40 17
O 65 18
H 70 19
Si 24 20
H 85 21
O 90 12
Si 12 34

The first...
Posted By balajesuri
echo $x | sed s/.$//
echo $x | sed s/.$//
Showing results 1 to 3 of 3


Featured Tech Videos

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