First you say that filenames in the directory 2012/09/13 are:
and then you say you want the entire filename to be the second field in your output file and say that that field should be:
What happened to the .trnsfr.gz at the end of the filenames?
Is the file_id field always supposed to be a string a decimal digits or could other characters appear in the file_id?
Is there any chance that there will be more than one occurrence of _t in a filename after sasmm_fsbc_durds_id000?
Should an error be reported if other files exist under 2???/[01][0-9]/[0-3][0-9] with filenames that that don't start with sasmm_fsbc_durds_id000 and contain _t after that?
I have a .csv file and i use the below while loop to navigate through it
But i need to loop from the second line since the first line is the header
How will i do it?? please help
while IFS=, read Filename Path size readonly
do
echo "Filename -> ${Filename}"
echo "Path -> ${Path}"
echo... (8 Replies)
Hi i have wriiten a script which fetches the data from text file, and saves in the output in a text file itself, but i want that the output should save in different columns.
I have the output like:
For Channel:response_time__24.txt
1547 data points
0.339
0.299
0.448
0.581
7.380
... (1 Reply)
Hi
I need to execute a select statement in a solaris environment with oracle database. The select statement returns number of rows of data.
I need the data to be inserted into a CSV file with proper format. For that we normally use "You have to select all your columns as one big string,... (2 Replies)
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Hi,
I have a text file with the following format. Some of the fields are blank.
1234 3456 23 45464 327837283232 343434
5654353 34 34343 3434345 434242
....
....
....
I need to convert this file to a CSV file, like
1234, ,23, ... (3 Replies)
Hi
I am writing a shell script to parse a CSV file , in which i am facing a problem to separate the columns . Could some one help me with it.
IN301330/00001 pvavan kumar limited xyz@ttccpp.com
IN302148/00002 PRECIOUS SECURITIES (P) LTD viash@yahoo.co.in
IN300239/00000 CENTRE india... (8 Replies)
Hi, all
I want to sort a csv file based on timestamp from oldest to newest and save the output as csv file itself. Here is an example of my csv file.
test.csv
SourceFile,DateTimeOriginal
/home/intannf/foto/IMG_0739.JPG,2015:02:17 11:32:21
/home/intannf/foto/IMG_0749.JPG,2015:02:17 11:37:28... (10 Replies)
Hi,
I have another problem. I want to sort another csv file by the first field.
result.csv
SourceFile,Airspeed,GPSLatitude,GPSLongitude,Temperature,Pressure,Altitude,Roll,Pitch,Yaw
/home/intannf/foto5/2015_0313_090651_219.JPG,0.,-7.77223,110.37310,30.75,996.46,148.75,180.94,182.00,63.92 ... (2 Replies)
Hi All,
I have a data file and need to extract and convert it into csv format:
1) Read and extract the line containing string ending with "----" (file sample_linebyline.txt file) and to make a .csv file from this.
2) To read the flat file flatfile_sample.txt which consists of similar data (... (9 Replies)
Discussion started by: abhi_123
9 Replies
LEARN ABOUT CENTOS
icupkg
ICUPKG(8) ICU 50.1.2 Manual ICUPKG(8)NAME
icupkg - extract or modify an ICU .dat archive
SYNOPSIS
icupkg [ -h, -?, --help ] [ -tl, --type l | -tb, --type b | -te, --type e ] [ -c, --copyright | -C, --comment comment ] [ -a, --add list ]
[ -r, --remove list ] [ -x, --extract list ] [ -l, --list ] [ -s, --sourcedir source ] [ -d, --destdir destination ] [ -w, --writepkg ] [
-m, --matchmode mode ] infilename [ outfilename ]
DESCRIPTION
icupkg reads the input ICU .dat package file, modify it according to the options, swap it to the desired platform properties (charset &
endianness), and optionally write the resulting ICU .dat package to the output file. Items are removed, then added, then extracted and
listed. An ICU .dat package is written if items are removed or added, or if the input and output filenames differ, or if the -w,
--writepkg option is set.
If the input filename is "new" then an empty package is created. If the output filename is missing, then it is automatically generated
from the input filename. If the input filename ends with an l, b, or e matching its platform properties, then the output filename will con-
tain the letter from the -t, --type option.
This tool can also be used to just swap a single ICU data file, replacing the former icuswap tool. For this mode, provide the infilename
(and optional outfilename) for a non-package ICU data file. Allowed options include -t, -w, -s and -d The filenames can be absolute, or
relative to the source/dest dir paths. Other options are not allowed in this mode.
OPTIONS -h, -?, --help
Print help about usage and exit.
-tl, --type l
Output for little-endian/ASCII charset family. The output type defaults to the input type.
-tb, --type b
Output for big-endian/ASCII charset family. The output type defaults to the input type.
-te, --type e
Output for big-endian/EBCDIC charset family. The output type defaults to the input type.
-c,--copyright
Include the ICU copyright notice in the resulting data.
-C, --comment comment
Include the specified comment in the resulting data instead of the ICU copyright notice.
-a, --add list
Add items from the list to the package. The list can be a single filename with a .txt file extension containing a list of item file-
names, or an ICU .dat package filename.
-r, --remove list
Remove items from the list from the package. The list can be a single filename with a .txt file extension containing a list of item
filenames, or an ICU .dat package filename.
-x, --extract list
Extract items from the list from the package. The list can be a single filename with a .txt file extension containing a list of item
filenames, or an ICU .dat package filename.
-m, --matchmode mode
Set the matching mode for item names with wildcards.
-s, --sourcedir source
Set the source directory to source. The default source directory is the current directory.
-d, --destdir destination
Set the destination directory to destination. The default destination directory is the current directory.
-l, --list
List the package items to stdout (after modifying the package).
LIST FILE SYNTAX
Items are listed on one or more lines and separated by whitespace (space+tab). Comments begin with # and are ignored. Empty lines are
ignored. Lines where the first non-whitespace character is one of "%&'()*+,-./:;<=>?_ are also ignored to reserve for future syntax.
Items for removal or extraction may contain a single * wildcard character. The * matches zero or more characters. If -m, --matchmode
noslash is set, then the * character does not match the / character.
Items must be listed relative to the package, and the --sourcedir or the --destdir path will be prepended. The paths are only prepended to
item filenames while adding or extracting items, not to ICU .dat package or list filenames.
Paths may contain / instead of the platform's file separator character and are converted as appropriate.
AUTHORS
Markus Scherer
George Rhoten
VERSION
1.0
COPYRIGHT
Copyright (C) 2006 IBM, Inc. and others.
SEE ALSO pkgdata(1)genrb(1)ICU MANPAGE 18 August 2006 ICUPKG(8)