shell: how to take part of the line...
How can i take part of text out of it....? (can't really express my self)
1) Lets say i want to get last/first 5 characters of text...
2) 3 characters starting from 4th character.....
In basic language there is function mid$(string$, offest%, lenght%)
what would be similar function in sh?
Also how can i determine how long is text line? ( len(string$) in basic)
|awk, cut, expr, string manipulation, substring|
|Thread||Thread Starter||Forum||Replies||Last Post|
|command-line-fu (digg like site with UNIX commands)||vermaden||Guides||3||13th March 2009 02:56 PM|
|avidemux2 command line||roddierod||FreeBSD General||1||10th November 2008 07:27 PM|
|OSS , playing a sound via command line..||scotsman||FreeBSD General||7||29th August 2008 08:01 PM|
|TCSH - getting to start of line||maxrussell||FreeBSD General||3||4th July 2008 11:55 AM|
|Trouble burning to dvdrw part 2||whispersGhost||Solaris||32||3rd June 2008 12:51 PM|