send multiple files with mailx or sendmail249 (5/31/2011 8:05:07 PM) comp.unix.shell I know it would work with uuencode, but this are ascii files i would like send as it, can't figure out how to send more than one file echo "From: (`hostname`)" > temp_file echo "To: ale...@xxx.com" >> temp_f... Atropo
send several ascii files using mailx or sendmail019 (5/31/2011 5:29:50 PM) comp.unix.questions I know it would work with uuencode, but this are ascii files i would like send as it, can't figure out how to send more than one file echo "From: (`hostname`)" > temp_file echo "To: alexis@xxx.com" >> temp_f... Atropo
how to compare the first field only22440 (8/4/2010 2:53:23 PM) comp.unix.shell Hi all.
I got this file from sql output
dates_out.txt:
26-03-2009 P
26-03-2009 B
26-03-2009 R
26-03-2009 L
26-03-2009 O
i would like to compare if there is differences in the first field
only. th... Atropo
newbie: how to check if a file has less than an hour12507 (7/30/2010 2:10:38 AM) comp.unix.shell Hi all.
find +/- 1 seens to count days. with the newer option i have to
create one file 1 hour early. that a certain hour i pretend to raise
a script to check if the today file has arrive if not then ... Atropo
NEWBIE: Why this behavior on ksh for3233 (7/28/2010 6:15:45 PM) comp.unix.shell Hi all.
My intend was to copy several files on several serves on differents
dirs.
#!/bin/ksh
#File=$1
sPath=/sourcepath
#sPath=$2
#tPath=$3
for server in "1 2 3 4"
do
echo Server $server
for ... Atropo
newbie: using find to touch new files8300 (7/2/2010 7:41:19 PM) comp.unix.shell Hi, all
I took this script suggested by Stephane CHAZELAS
find . -name "* .txt" -exec sh -c 'file=$1; exec mv "${file}" "${file
% .txt}.txt"' {} {} \;
this was intended to rename files, but i want cr... Atropo
NEWBIE: how exclude files in ftp25352 (6/14/2010 1:47:14 PM) comp.unix.shell Hi all, I'm on solaris 5.10 and trying to get several files from
windows server, but with the condition that the files do not have the
extension ".par" (partial or being processed). help mget is not very
h... Atropo
touch to strip extension.6204 (12/3/2009 6:13:03 PM) comp.unix.shell Hi all,
a find command feeds me with filenames and I want to touch those
filenames stripping the extension and giving new one.
i know i can with variable ${filename%.*} have the filename without
exte... Atropo
newbie. install same lib via rpm645 (6/21/2009 6:14:12 AM) comp.os.linux.misc Hi, all. I just installed Fedora 8 and go compile a c++ that uses usb. i saw in the install.log that it installed the libusb-0.1.12-10.fc8.i386.rpm when i compile it throws this error "/usr/bin/ld: canno... Atropo
strings to construct a system call.238 (10/15/2008 11:43:50 PM) comp.lang.c++ sorry if this comes out more than once. i've posted this three times but never shows. Hi all, Having several strings how do I construct variable to pass to system(): Lets say the date command string str ... Atropo
lxvasquez's replies:
Items(7) /1
How to expect a string on a log file423 (3/28/2007 6:26:41 PM) comp.unix.questions Sorry, maybe the subject was somehow vague. what I want is . I had a process (proc1) with that writes to a log. when this process came up it writes a "ready" on the log , about 1 or 2 mins later. I would lik... lxvasquez(45)
is there a limit for the amount file in the directory347 (7/3/2007 11:35:17 AM) comp.os.linux.misc hi all! my filesystem is ext3 ,when my program create file in one directory ,when the amount is about great 2^16, then i fail to create again, it print "no space in the device" ,but there is space in t... fxlzju(15)
Very basic Include a function in a program246 (5/25/2008 6:15:02 AM) comp.lang.c Hi all, All that I have done in c is a hello word, but I'm RTFM. I have to extract the time from a usb-key from HASP-HL Aladdin. The software that came with this brings me the code in c that do this this is ... lxvasquez(45)
NEWBIE: how to construct a system call from strings1036 (10/15/2008 10:51:45 PM) comp.lang.c++ Hi all, Having several strings how do I construct variable to pass to system(): Lets say the date command string str = "14/10/08 19:06:09"; strDD = str.substr(0,2); strMM = str.substr(3,2); strYY = str... lxvasquez(45)
newbie. install same lib via rpm645 (6/21/2009 6:14:12 AM) comp.os.linux.misc Hi, all. I just installed Fedora 8 and go compile a c++ that uses usb. i saw in the install.log that it installed the libusb-0.1.12-10.fc8.i386.rpm when i compile it throws this error "/usr/bin/ld: canno... lxvasquez(45)