由买买提看人间百态

topics

全部话题 - 话题: yourfile
1 (共1页)
t***s
发帖数: 4666
1
来自主题: TeX版 - 使用bibtex一个小问题。
don't run with the extension. run everything with the main part
of the filename only. like
latex yourfile
bibtex yourfile
latex yourfile
latex yourfile
A**********e
发帖数: 3102
2
来自主题: TeX版 - dvi转pdf,为什么不见图片
try
dvips yourfile.dvi
if you can get yourfile.ps, then try
ps2pdf yourfile.ps
A**********e
发帖数: 3102
3
来自主题: TeX版 - dvi转pdf,为什么不见图片
try a simple one for mgs:
comment the line started with
D "mgs.exe ...
by adding % in front of D, then add the following line
D "mgs.exe -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -
dUseFlateCompression=true -dNOPAUSE -sOutputFile=\"%o\" \"%i\" -c quit"
before it. then delete yourfile.ps and yourfile.pdf, use
dvipdfm yourfile.dvi
again to see if it works or not. if not, delete the `-q', then re-try, and
post the error message :)
good luck.
s*****e
发帖数: 63
4
来自主题: Apple版 - 新手问mac下的c++
try >>system('yourfile');
or >>! yourfile;
N***m
发帖数: 4460
5
来自主题: Programming版 - 如何实现将网页内容自动存取?
http://www.oracle.com/technetwork/java/javase/downloads/index.h
get JDK. Install it.
write java file using any editor.
to compile it, use javac yourfile.java
to run it. use java yourfile
A**********e
发帖数: 3102
6
来自主题: TeX版 - dvi转pdf,为什么不见图片
just tested on my computer. so please do the following to test:
Windows: from Start -> run... , type `cmd' to get the command window.
then, type `dvipdfm --version' to see if it has been installed (by default,
it should be part of MikTeX)
then cd to your folder (or copy your folder under C:\, which is much easier
and cd into it) type
dvipdfm yourfile.dvi
to see if you can get yourfile.pdf correctly.

install
A**********e
发帖数: 3102
7
来自主题: TeX版 - dvi转pdf,为什么不见图片
have you installed ghostscrip and ghostview?
try this: type
dvips yourfile.dvi
can you get the yourfile.ps? can you open it?

file
information.
fix
default
n*o
发帖数: 442
8
Say, if your printer's name is: jazzbaby
You used to type: lpr -Pjazzbaby yourfile.tag
If you add this line into your .cshrc file or .login file:
setenv PRINTER jazzbaby
You can just type: lpr yourfile.tag
to print the file out.
c**t
发帖数: 2744
9
来自主题: Unix版 - exec 求救

file yourfile
ls -l yourfile.
Is it executable? Try to recompile.
f*******e
发帖数: 51
10
想不出简单的。。。
proc sql noprint;
select name into : varlst separated by " "
from sashelp.vcolumn
where libname="yourlib" and memname="yourfile" and type="char";
quit;
%put &varlst;
proc transpose data=yourfile out=yourfile2;
var &varlst;
run;
data yourfile2;
set yourfile2;
array char _character_ ;
count=0;
do over char; if char =" " then count+1;
end;
keep _name_ count;
run;
w******n
发帖数: 214
11
来自主题: Military版 - 去了次朝鲜,感觉朝中差距巨大
ft
sed -i -e "s/莫斯科/平壤/g" -e "s/俄国/北朝鲜/g" yourfile
done
N**********r
发帖数: 351
12
来自主题: PhotoGear版 - win7怎么给ftp upload文件
in cmd:
CD YOURFILELOCATION
ftp xxx.xxx.xx.xx
username
password
ha
bi
cd YOURUPLOADDIRECTORY
put YOURFILE
g***l
发帖数: 18555
13
我用个DOS BATCH FILE RENAME文件名,
copy yourFile %DATE%.txt
你用SSIS PACKAGE做个JOB也行,这样SCRIPT里你还能学点东西,文件名啊ARCHIVE啊都
好做。FTP啥的也都做了,出错还能报错。
m******t
发帖数: 2416
14

You probably have some latex plugin sourced already.
Try opening it again with:
vim -c 'set ft=' yourfile
M*P
发帖数: 6456
15
不知道你在干嘛,后几列可以这么干
awk -F'\t' '{print $7 $8 $9}' yourfile > outfile

t\
8
X*V
发帖数: 1431
16
来自主题: Linux版 - help about regex (转载)
egrep '.+:\*:[a-z]+:[a-z]+.[a-z]+' yourfile
p*******s
发帖数: 26
17
来自主题: Linux版 - ubuntu 的vi是阉割版么 ?
ctrl-W V
或者 vsplit yourfile.txt
c**t
发帖数: 2744
18
来自主题: Programming版 - Regular Expression 问题
perl -F| -lane 'print @F if $F[6] =~ m/2009 14/' /path/to/yourfile
j*****a
发帖数: 436
19
来自主题: Programming版 - Regular Expression 问题
grep '^.*|.*|.*|.*|.*|.*|2009 14|' yourfile
j*****a
发帖数: 436
20
来自主题: Programming版 - Regular Expression 问题
grep '^.*|.*|.*|.*|.*|.*|.*2009 14.*|' yourfile
j*****a
发帖数: 436
21
来自主题: Programming版 - Regular Expression 问题
Sorry, check this one:
grep '^[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*|[^|]*2009 14[^|]*|' yourfile

的.
在 jinghua (京华客) 的大作中提到: 】
a**a
发帖数: 416
22
来自主题: Programming版 - 求助 python 中 16进制的读取与处理
it seems that you can do
[''.join(chr(int('0x'+x, 16)) for x in line.split()[1:]) for line in open('
yourfile')]

是'
A**********e
发帖数: 3102
23
来自主题: TeX版 - dvi转pdf,为什么不见图片
对了,另外,用 dvipdfm -vv yourfile.dvi,贴结果上来吧。这个详细些,可以知
道是哪里出了问题 :((

I tried them both. But they didn't work. The problem was still the same.
...
(transmitter.eps
Config file contains no template to perform PS -> PDF conversion
)
pdf: image inclusion failed for (transmitter.eps).
...
g*********r
发帖数: 124
24
i am not quite clear about your question, but i am guessing you
want to creat a separate bibliography file. In that case, you
could create from your .bbl file and pdflatex it.
e.g.,
\documentclass{%your original class}
\begin{document}
\input{yourfile.bbl}
\end{document}
t*********l
发帖数: 30
25
sed -n '/0$/{N;/04$/p}' yourfil
L****r
发帖数: 33
26
来自主题: Unix版 - a question about awk
awk 'NR!=1' yourfile
p**v
发帖数: 853
27
try psnup -n 2/4/more -l or -t yourfile.ps new.ps
you can either use -l or -t to see the effect.
or you can simply skip this.
r****d
发帖数: 375
28
来自主题: Unix版 - Solaris 下如何对付大文件
I have such problem before when I tried to open some big traces. It seems that
gzip or tar can't handle such big file. So the way I did was using pipe, that
is: gzip -dc Yourfile.tar.gz | tar xv
s******0
发帖数: 13782
29
cat yourfile | grep yourFunctionName | wc -l

called.
z********0
发帖数: 9013
30
#!/bin/bash
while read emailaddr; do
mail $emailadr < mymessage.txt
done < "yourfile"
like this?
z********0
发帖数: 9013
31
#!/bin/bash
while read emailaddr; do
mail $emailadr < mymessage.txt
done < "yourfile"
like this?
h***o
发帖数: 539
32
rar a -v15000k mail.rar yourfile
rar in linux thought...hoho
B********e
发帖数: 10014
33
来自主题: Computation版 - 如何批量保存fig图片
h=plot(yn)
saveas(h,'yourfile.ext')
我猜你总得plot再存为图片

s*****n
发帖数: 2174
34
来自主题: Statistics版 - R怎样读文本文件
data <- read.csv("yourfile.txt", header = F)
unlist(strsplit(as.character(data$V1), split=""))
D******n
发帖数: 2836
35
first 495 samples or the ones u specified?
if only first 495 samples , it is easy.
head -247500 yourfile.csv|split -l 500 - smallfile -d

查,
o****o
发帖数: 8077
36
来自主题: Statistics版 - SAS help needed: baozi will be given
does your SAS print out a lot of warning or error messages?
try options error=1; to limit error msg
it looks in SAS there is noway to turn off warning msg, but you can redirect your log output by using PROC PRINTTO log=&yourfile; RUN;
R*********r
发帖数: 225
37
来自主题: Statistics版 - R 画图结果怎么分别保存?
Windows OS?
close all plot windows then
pdf(file='yourfile.pdf')
plot(1:5)
plot(1:5)
plot(1:5)
dev.off()
to create new plot window, under windows OS:
x11()
f*******e
发帖数: 51
38
data _null_;
set yourfile end=eof;
array char _character_ ;
do over char;
if char =" " then inx+1;
end;
if eof then call symput("total", left(inx));
%put &total;
run;
not sure if it's what u need or not
w*********n
发帖数: 30
39
if it's a real csv file, use excel "save as" to save it as tab-delimited txt
file, then
x<-read.table("yourfile.txt",header=F,sep="\t")
plus, don't confuse "sep" and "quote"
H**n
发帖数: 43
40
UNIX?
it should be very easy
for i in {1..22}; do plink --file yourfile --chr ${i} --recode --out
yourfile_chr${i}; done
g******2
发帖数: 234
41
来自主题: Statistics版 - 请教如何分割较大的data
is your system linux? if yes, use "split -b 100m yourfile.txt"
1 (共1页)