10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, I have a file in the following format
id sample platform R1 R2 gene1 gene2 gene3
1 abc llumina R1_001.fastq.gz R2_001.fastq.gz apoe prnpp asp
2 def llumina R1_001.fastq.gz R2_001.fastq.gz apoe prnpp
3 ghi llumina ... (3 Replies)
Discussion started by: nans
3 Replies
2. UNIX for Beginners Questions & Answers
Hi all,
Given here under a section of a script I am using.
SIMDIR="/home/Ins/forces"
cd $SIMDIR
for file in `ls *.forces`
do
basename=`echo $file | sed 's/\.*$//'`
extname=`echo $file | sed 's/*\(*\)\.\(.*\)/\2\1/'`
echo "Processing file: "$basename
python convert.py... (4 Replies)
Discussion started by: Theo Score
4 Replies
3. UNIX for Dummies Questions & Answers
Hello
I've got a certain no. of files in a directory whose names I'm reading and redirecting into a temporary text file using the command below:
ls -l | grep ^- | awk '{print $9}'However, whenever the file names contain spaces the above command considers only the part of the file name up to... (5 Replies)
Discussion started by: S. BASU
5 Replies
4. Shell Programming and Scripting
I've a file in linux with following text:
;ip address hostname put-location alt-put-location tftpserver
192.168.1.1 r01-lab1-net /mnt/nas1/fgbu/ /opt/fgbu/devicebackup 192.168.1.254Now I want to read these values and assign them to particular variables... (6 Replies)
Discussion started by: kashif.live
6 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to read a .csv file which has some 6 columns.
Eg: samp.csv
one, two, three, four
six, seven, eight, nine
I used the following code,
for line in `cat samp.csv`
do
echo "$line"
done
It displays every comma seperated values in each line like,
one,... (1 Reply)
Discussion started by: johnwilliams.sp
1 Replies
6. UNIX Desktop Questions & Answers
Hi
Suppose I have a variable called filename and it it contains the name of a file. I then would like to append an extension to that filename. The filename currently has no extensions.
How do I do this?
Thanks (11 Replies)
Discussion started by: ladyAnne
11 Replies
7. Shell Programming and Scripting
i get a name from user first name : last name, in this format. Now i am saving this to a file. what i want is, I do not want to save any name if I already have one entry o that same name..what should i do
for example
user give robert fernandez
this will save in file as robert:fernandez.
if... (5 Replies)
Discussion started by: Learnerabc
5 Replies
8. Shell Programming and Scripting
Hi,
I want to write a script to read all the filenames with extension .xml in a directory and pass the name of the file, one by one, to another function.
Please help me out.
Regards.
Saurabh (3 Replies)
Discussion started by: bhalotias
3 Replies
9. UNIX for Dummies Questions & Answers
One of my colleagues is having an issue moving files between a windows box and the AIX servers in the office.
The filenames are being truncated though i don't know to what extent. He's using Nero to burn the CD and I think he mentioned he's using Joliet.
I found another thread that shows a... (1 Reply)
Discussion started by: categoryzd
1 Replies
10. UNIX for Dummies Questions & Answers
UNIX Sun Ultra60 5.5.1
Hello everybody, I have a problem that seems simple but turns out to be complex (for me at least). My program needs to open a directory (this part is easy), scan each filename and determine whether or not a file with the suffix (.07) exists. So the program would return... (5 Replies)
Discussion started by: j_t_kim
5 Replies
atsopt(1) General Commands Manual atsopt(1)
NAME
atsopt - ATS to C compiler
SYNOPSIS
atsopt <command>...
DESCRIPTION
atsopt is the compiler from ATS to C. It is most commonly invoked by atscc which is the preferred frontend for compiling ATS code.
COMMANDS
atsopt takes a number of commands with parameters to determine its behavior:
-d, --dynamic <filenames>
Dynamically load the filenames.
--debug=1
Enable generation of debugging information.
-dep, --depgen
Generate dependency lists.
-h, --help
Print the usage information.
-o, --output <filename>
Specify the output filename.
--posmark_html
Generate an HTML file with colored concrete syntax.
--posmark_xref
Generate an HTML file with syntactic cross-references.
-s, --static <filenames>
Statically load the filenames.
-tc, --typecheck
Typecheck the given ATS source files, but go no further.
-v, --version
Show ATS/Anairiats version and gcc version.
EXAMPLES
atsopt -o test.c -d test.dats
Compile test.dats to a C file.
atsopt -tc -d test.dats
Typecheck test.dats only.
atsopt -o test.html -d test.dats --posmark_html
Write a syntax colored version of test.dats.
SEE ALSO
atscc(1), atslex(1).
These programs are documented fully by The ATS/Anairiats user's manual available via the web at http://www.ats-lang.org/
AUTHOR
atsopt was written by Hongwei Xi.
This manual page was written by Matthew Danish <mrd@debian.org>, for the Debian project (and may be used by others).
February 22, 2010 atsopt(1)