Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Closed Thread
  Search this Thread
Old 07-13-2012, 01:28 AM   #1
Registered: May 2008
Posts: 32

Rep: Reputation: 15
Shell script/Perl Script to remove the string until it finds special character '_'


I would like to search for a value (i=1 to 120) in the name of file in for loop.

eg. 2012-07-12T164536_file119

Looking for perl/shell script for this..

Pls help

Old 07-13-2012, 02:03 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Please don't post the same thread more than once. I've reported this as a duplicate of your other thread. Please continue there.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script/Perl Script to remove the string until it finds special character '_' pooppp Programming 10 07-17-2012 10:36 AM
search and replace string with special character perl or sed. Noobux Programming 4 05-21-2012 04:16 PM
shell script to find the sum of numbers associated with each character in a string Aagam Linux - Newbie 22 02-07-2012 09:59 AM
csh Shell Script: String Concatenation, how do i add a new line character? vxc69 Programming 1 05-04-2009 08:51 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration