I have a module in my repository. Let's call it module1.
If I just checkout it, it's alright, it shows up in my machine and I can work on it.
There's a parameter in checkout command named -c - according to help, '"cat" the module database.'.
But when I run this command
cvs co -c
The module isn't showing up. Why? Is there a cache fi...
(AIX/ksh)
i have a chinese file ...i cant able to open it in aix using cat fully...if i give cat then some contents are missing...and if i give cat -v it is giving wierd code....even i tried with while loop to read contents,but not working...with more command i can but i cant use more in shell scripting...so please shed some idea here......
Hello,
I have been stuck on this for some time.
Let's say I have a C program like the following. I want to be able to send this program some string and get the control after that.
If I do:
--> cat myfile | myprogram
or
--> echo "0123" | myprogram
or
--> myprogram < myfile
I get the ouput (myfile contains "0123")
30 31 32 33
Usi...
Not sure if the title makes sense... so I'll elaborate a bit.
I'm toying with this makefile that uses gcc's auto-dependency list generator.
At the same time, I wanted to keep a nice sorted directory structure that separates source, headers, and resources.
The layout's nice and simple like so
MAIN
src
include
objects
dependencies
...
For my OS class I have the assignment of implementing Unix's cat command with system calls (no scanf or printf). Here's what I got so far:
(Edited thanks to responses)
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
main(void)
{
int fd1; ...
I am trying to use cat() as functions inside apply(). I can almost make R do what I want, but I'm getting some very confusing (to me) NULLS at the end of the return. Here is a silly example, to highlight what I'm getting.
val1 <- 1:10
val2 <- 25:34
values <- data.frame(val1, val2)
apply(values, 1, function(x) cat(x[1], x[2], fill=TRUE))...
i got some files with name start as eg_. and only each contains one single line
eg_01.txt:
@china:129.00
eg_02.txt
@uk:219.98
eg_03.txt
@USA:341.90
......
i am expecting to cat them in to a single line to send by URL like:
@china:129.00@uk:219.98@USA:341.90
i use
echo cat eg_*
it give me the output look like a string, but it actu...