Sponsored Content
Top Forums Shell Programming and Scripting Replacing strings in csv file. Post 302292179 by msafwan82 on Friday 27th of February 2009 05:22:16 AM
Old 02-27-2009
Thanks you very much! Smilie
The text in red can be variant. Is that possible to use the command to remove text that beginning after slash & ending at first comma?

Last edited by msafwan82; 02-27-2009 at 06:33 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

replacing commas with tilde in csv file.

hello all, i have a comma delimited file. i want to replace the commas in the file with the tilde symbol using sed. how can i do this? thanks. (4 Replies)
Discussion started by: femig
4 Replies

2. Shell Programming and Scripting

replacing strings with text from other file

Hi, Im trying to update some properties files with text from another file: file1 user=xyz file2 user= after script file2 user=xyz Im using this reading the $QUARTZURL,ETC... from quartz.properties: echo... (1 Reply)
Discussion started by: mc1392
1 Replies

3. UNIX for Dummies Questions & Answers

Replacing characters in csv file

Hello all, This is my first post here, so please excuse me if this question is too obvious or has been asked before. I am new to Unix and although I tried to search your forum for the answer to my question, I could not find an answer that would help me. I have a 500MB csv file with numeric values... (1 Reply)
Discussion started by: finwhiz
1 Replies

4. Shell Programming and Scripting

Replacing strings in a log file and saves as a new csv

Hello Im new here.I need to replace strings and change it into csv format, or at least saves the file as csv if that would work :p. Heres an example of my scenario 1) I have a log file, named abc.log, and its like a txt based file anyway, and the content looks like this ... (2 Replies)
Discussion started by: tententen
2 Replies

5. Shell Programming and Scripting

Replacing text in a .csv file using Perl

I have played with this for some time but i dont seem like i am getting it right. I am trying to change the delimiters on a file so i can import it into a database. this file has rows of data separated by enter Right now the delimiters are represented by tabs and " ". e.g. "dlfkldfs... (9 Replies)
Discussion started by: salemh
9 Replies

6. Shell Programming and Scripting

Replacing Strings in a File

I have a input file which looks like this: Value1="" Value2="" Value3="" ListOfValues=" $Value1 $Value2 $Value3" I have another program which computes the values ($val1, $val2, $val3). So if $val1 is 'A', $val2 is 'B' and $val3 is 'C', I should edit the input file so it will look like:... (0 Replies)
Discussion started by: laiko
0 Replies

7. Shell Programming and Scripting

Replacing Strings in a File

I have a input file which looks like this: Value1="" Value2="" Value3="" ListOfValues=" $Value1 $Value2 $Value3" I have another program which computes the values ($val1, $val2, $val3). So if $val1 is 'A', $val2 is 'B' and $val3 is 'C', I should edit the input file so it will look like:... (6 Replies)
Discussion started by: laiko
6 Replies

8. UNIX for Advanced & Expert Users

Replacing the comma in .csv file in unix

Hi All, Could some one help me on one of my requirement below: I have a sequential file with 4fields in it and it is a comma (,) seperated file. Delimeter is 'comma'. But in of the file column for ex: 3rd column it is 'Description' (column name) I am getting the values with commas.... (6 Replies)
Discussion started by: eskay_s
6 Replies

9. Shell Programming and Scripting

Finding/replacing strings in some files based on a file

Hi, We have a file (e.g. a .csv file, but could be any other format), with 2 columns: the old value and the new value. We need to modify all the files within the current directory (including subdirectories), so find and replace the contents found in the first column within the file, with the... (9 Replies)
Discussion started by: Talkabout
9 Replies

10. Shell Programming and Scripting

Match list of strings in File A and compare with File B, C and write to a output file in CSV format

Hi Friends, I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving... File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
Image::ExifTool::Photoshop(3pm) 			User Contributed Perl Documentation			   Image::ExifTool::Photoshop(3pm)

NAME
Image::ExifTool::Photoshop - Read/write Photoshop IRB meta information SYNOPSIS
This module is loaded automatically by Image::ExifTool when required. DESCRIPTION
Photoshop writes its own format of meta information called a Photoshop IRB resource which is located in the APP13 record of JPEG files. This module contains the definitions to read this information. NOTES
Photoshop IRB blocks may have an associated resource name. These names are usually just an empty string, but if not empty they are displayed in the verbose level 2 (or greater) output. A special "SetResourceName" flag may be set to '1' in the tag information hash to cause the resource name to be appended to the value when extracted. If this is done, the returned value has the form "VALUE/#NAME#/". When writing, the writer routine looks for this syntax (if "SetResourceName" is defined), and and uses the embedded name to set the name of the new resource. This allows the resource names to be preserved when copying Photoshop information via user-defined tags. AUTHOR
Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca) This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. REFERENCES
http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf <http://www.fine-view.com/jp/lab/doc/ps6ffspecsv2.pdf> <http://www.ozhiker.com/electronics/pjmt/jpeg_info/irb_jpeg_qual.html> <http://www.fileformat.info/format/psd/egff.htm> <http://libpsd.graphest.com/files/Photoshop%20File%20Formats.pdf> SEE ALSO
"Photoshop Tags" in Image::ExifTool::TagNames, Image::ExifTool(3pm), Image::MetaData::JPEG(3pm) perl v5.12.4 2011-01-25 Image::ExifTool::Photoshop(3pm)
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy