Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
truncate the last letter
Name: egls Date: January 9, 2008 at 23:47:54 Pacific OS: Solaris CPU/Ram: 2 Product: Sun
Comment:
HI,
How do I remove the percentage from 98% show it only shows 98 using the echo ${abc} command? Thanks
Summary: Hi all. I want to throw the last charcter from string and get the rest. For example: set x=abcdefg .... ->echo $x abcdef I can use tcsh or ksh. Thanks. ...
Summary: Hello, how do i get the last field Ex: files are with this formats abc_xyz_20041232 abc_20041001 abbc_xyz_rrr_20041013 i tried with cut command but i doono how to get the last filed the file names has...
Summary: Hi, I have a problem with sed. I have written this command line in my script to replace FII+PI with FII+CI and output to temp.txt sed "s/FII+PI/FII+CI/g" < $1 > temp.txt But i realised that when my...