![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read Single Value From File With Perl | Donkey25 | Shell Programming and Scripting | 1 | 04-01-2009 01:02 PM |
| [Perl] Accessing array elements within a sed command in Perl script | userix | Shell Programming and Scripting | 2 | 10-03-2008 12:05 PM |
| Perl - combine two xml files | nmadpl | Shell Programming and Scripting | 2 | 11-16-2006 12:12 PM |
| sed or grep or perl combine two lines | artjaniger | UNIX for Dummies Questions & Answers | 3 | 06-27-2003 05:20 PM |
| combine 2 lines (command & echo) | primal | UNIX for Dummies Questions & Answers | 13 | 10-09-2001 05:51 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi Everyone,
i have a string 00:44:40 so: $tmp=~ s/://gi; $tmp=~s/([0-9]{2})([0-9]{2})([0-9]{2})/$1*3600+$2*60+$3/e; the output is 2680. Any way to combine this two lines into a single line? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|