05-07-2015
Chatwithsaurav,
You simply have not provided us with sufficient information about the legal names and formats of your file for us to assist you at present.
The examples you provide are just random examples. Unless you can rigidly formulate your requirements and communicate them, nobody can help you.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to read the output of a .sql script (simple insert and commit oracle pl/slq script) to a log file using a shell script. My problem is I end up with a log file that looks like this:
sd12@phenix97:/detain/sd12/logs > cat 20071205_detain_20071206.log
12320496 rows created. Commit... (11 Replies)
Discussion started by: sd12
11 Replies
2. Shell Programming and Scripting
Can someone please help me with my bourne shell script. I am a struggling newbie. I need create a script that will read an argument from a command line, access a config file with application file types, and open the file with the correct application. The file needs to be able to handle file... (3 Replies)
Discussion started by: 3dtiger
3 Replies
3. Programming
The below code throws error in the line number 32 where the function is defined.
But How to find the line where the function is called.
That is I want to throw the error at the line number 43 (as here the function is called).
The code is:
#include <iostream>
#include <string>... (9 Replies)
Discussion started by: SamRoj
9 Replies
4. Shell Programming and Scripting
Hi All
I do have a file like this:
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 8.9e+016 GCGGTAACT
4 20 26 232 1.7e+013 TTTTTATTTTTTTTTTTTCC
5 ... (6 Replies)
Discussion started by: Lucky Ali
6 Replies
5. Linux
how can i automatically create a file on Linux? like a process that searches for the file and if the file does not exist, it automatically makes the file (3 Replies)
Discussion started by: roozis
3 Replies
6. UNIX for Advanced & Expert Users
The following notice I am getting in /var/adm/messages file
Dec 9 06:17:24 hostname lw8: Main, up 476 days 04:42:23, Memory 9,742,808
Dec 9 10:17:25 hostname lw8: Main, up 476 days 08:42:23, Memory 10,179,864
But my actual uptime is ::
11:55am up 25 day(s), 10:38, 3 users, ... (5 Replies)
Discussion started by: brij123
5 Replies
7. Shell Programming and Scripting
Hi friends,
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
------------------------------------------------------------
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Discussion started by: Khan28
6 Replies
9. Shell Programming and Scripting
All,
Objective : Extract the correct format of a file name.
Please share the script command which will extract the correct format of the file after untarring.
Example : If the file is of .csv format then extract filename.csv
if the file is having .CSV then extract the same.CSV
if the file... (1 Reply)
Discussion started by: Mahesh G
1 Replies
10. Shell Programming and Scripting
Hi,
I am logged into as root & inside the home directory of another user.
ls -a
# ls -laq
total 44
drwx------ 4 user1 adm 4096 Nov 23 05:10 .
drwxr-xr-x. 12 root root 4096 Nov 22 13:05 ..
-rw-r--r-- 1 user1 adm 18 Nov 22 13:05 .bash_logout
-rw-r--r-- 1 user1 adm 193 Nov... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT LINUX
dh_installexamples
DH_INSTALLEXAMPLES(1) Debhelper DH_INSTALLEXAMPLES(1)
NAME
dh_installexamples - install example files into package build directories
SYNOPSIS
dh_installexamples [debhelperoptions] [-A] [-Xitem] [file...]
DESCRIPTION
dh_installexamples is a debhelper program that is responsible for installing examples into usr/share/doc/package/examples in package build
directories.
FILES
debian/package.examples
Lists example files or directories to be installed.
OPTIONS
-A, --all
Install any files specified by command line parameters in ALL packages acted on.
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being installed.
file ...
Install these files (or directories) as examples into the first package acted on. (Or into all packages if -A is specified.)
NOTES
Note that dh_installexamples will happily copy entire directory hierarchies if you ask it to (similar to cp -a). If it is asked to install
a directory, it will install the complete contents of the directory.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_INSTALLEXAMPLES(1)