Assuming that the file memo is a non-empty text file containing:
and that there is no file named none, what output would you expect to get in the files named save1, save2, and letter if you were to run the pipeline:
? If you then actually run this pipeline with the input files set up as described above, did you get the output you expected? If not, what did you get and what did you expect to get?
Can any body tell me when I put close(2), why the code does not show any out put?
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
int main(){
int fd1,fd2,fd3,fd4;
close(2);
fd1=open("test1.txt",O_WRONLY |O_CREAT | O_TRUNC,0744);
fprintf(stderr,"fd1 = %d\n",fd1);
... (5 Replies)
Hello All,
Im opening a file desciptor in perl and sending data using print CMD "$xyz".
is there a limit to the length of the string that I can give to this CMD at a time. (3 Replies)
Hello Friends,
I have a question, i am trying to write a shell script in the bash shell.
#!/bin/sh
NAWK=/bin/nawk
AWK=/bin/awk
FIX_XML_PATH=/home/administrator/testfix/fix/
Y=`ls $FIX_XML_PATH | grep xml`
echo $Y
cat $Y
in this case when i do the echo $Y command it gives me the... (11 Replies)
Hello,
I am trying to send text to a USB to serial adaptor and then to an external speech synthesizer. I tried using the cat and echo commands with no luck. I have gotten some audio output from my synthesizer using Kermit a terminal emulator, so I am pretty sure my synthesizer and my USB to serial... (1 Reply)
I am having problems getting a list of filenames that I want from a directory.
example: I have 3 files - filename.xxx.20110505.123030
filename.yyy.20110505.123030
filename.zzz.20110505.123030
There may be multiple xxx,... (3 Replies)
Can any one guide me how can i accomplish this by script
i continuously receive files via our ftp server into a certain folder is there a way i can take those files cat it to a new file by hour and create a new file when new hour starts? (4 Replies)
Can we concatenate say,
I have a few files prefixing with 2009...
So now i want all the 2009 files into one single file..
Can this be achieved???? (4 Replies)
hello! why this works?
cd /home/user
cat * | ecasound -i stdin -o jack
and this doesn't?
cd /home/user/somedirectory
cat * | ecasound -i stdin -o jack
somedirectory are full with exe files which are the best source for this sort of noise thing (10 Replies)
Discussion started by: karlhungus
10 Replies
LEARN ABOUT REDHAT
install-memo
install-memo(1) General Commands Manual install-memo(1)NAME
install-memo - installs a new memo in a Palm Computing Device
SYNOPSIS
install-memo -p <port> [-c category ] filename [filename filename ...]
DESCRIPTION
install-memo allows the user to write one or more files as a new memo or memos, respectively, onto the Palm handheld device.
OPTIONS
-p --port <port>,
Use device file port to communicate with the Palm handheld device. If this is not specified, will look for the $PILOTPORT environ-
ment variable. If both are not found, will fall back to /dev/pilot.
-h --help
Display help synopsis for install-memo
-v --version
Display version of install-memo
-c category
Install memo(s) to category category by default. Normally install-memo uses Unfiled as the default category.
-q Causes install-memo to be quiet and not prompt you to press the HotSync button.
-r Replace all memos in the category specified by the -c category option.
-t Use the filename as the title for the memo. (The title is the first line of a memo.)
USAGE
The program will connect to the Palm handheld device, and write the file or files given on the command line into the MemoPad application on
the Palm.
KNOWN BUGS
The Palm Device may have a maximum length on memo sizes.
REPORTING BUGS
Report bugs at http://bugs.pilot-link.org/
AUTHOR
install-memo was written by Damien P. Neil <neild@rpi.edu>
Free Software Foundation Palm Computing Device Tools install-memo(1)