The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
byte count and cut command
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
byte count and cut command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-10-2007
reborg
Administrator
Join Date: Mar 2005
Location: Ireland
Posts: 4,242
ksh/bash
1.
Code:
$ a=abc@yahoo.com $ echo ${#a} 13
Code:
$ echo "abc.|de" | awk -F'.|' '{ print $1}' abc
(note not all awks will allow this, on solaris use nawk)
reborg
View Public Profile
Find all posts by reborg
Find reborg's past nominations received
Find reborg's present nominations given