Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: chedlee88-1
739
Posted By chedlee88-1
How to create a print filter that print text & image?
Currently, I have a print filter that takes a text file, that convert it into PCL which then gets to a HP printer. This works.

Now I need to embedded a image file within the text file.

I'm...
17,105
Posted By chedlee88-1
That awk script looks complicated. Why...
That awk script looks complicated.

Why don't you break the problem down into several parts?
1) Check if the header exist. Use grep & head
2) Check if the trailer record exist. Use grep & tail...
1,409
Posted By chedlee88-1
> 1)regardless if it can "find" something or not,...
> 1)regardless if it can "find" something or not, the "find" will return 0,how can
> we use "if" to judge not find or find?

You need to be more specific on what you mean here. To find something...
Forum: SCO 10-17-2011
1,572
Posted By chedlee88-1
Wangtek Tape 5125EN SCO Drivers
Does anybody know where I can get Wangtek Tape Drive 5125EN SCO Drivers?

I know that Sco 3.2 r4.2 had it built into the distribution.
1,757
Posted By chedlee88-1
either ls nzrcm* or ls | grep...
either
ls nzrcm*
or
ls | grep "^nzrcm"
1,491
Posted By chedlee88-1
#!/bin/sh while read line do ...
#!/bin/sh

while read line
do
F1=`echo $line | cut -c1-7`
F2=`echo $line | cut -c8-17`
F3=`echo $line | cut -c17-27`
echo "$F1,$F2,$F3"
done
Forum: Solaris 10-17-2011
1,694
Posted By chedlee88-1
Did you backup your box before you did the...
Did you backup your box before you did the install?
4,892
Posted By chedlee88-1
In that case do this. for FILE in `cd sourceDir...
In that case do this.
for FILE in `cd sourceDir ; ls -1 *.rrd`
do
rrdtool dump "$FILE" > "/path/to/$FILE.xml"
done

Please use code tags (https://www.unix.com/misc.php?do=bbcode&#code)...
Forum: Programming 10-17-2011
1,063
Posted By chedlee88-1
Details.. Details..... If you have some...
Details.. Details.....

If you have some sample code of what you have written, it will certainly help out to understand your issue.
4,892
Posted By chedlee88-1
You may want to put in some checks like 1)...
You may want to put in some checks like
1) check to see if the /backup/cacti_xml directory exist
2) check to see if the /var/www/html/rra directory exist
3) Also, you may want to dump your...
Forum: SCO 10-17-2011
10,743
Posted By chedlee88-1
SCO Unix OpenServer 5.0.5 Media Kit
My client has lost the SCO OS 5.0.5 install media.

However, they do have a working SCO 5.0.5 system, but is crumbling apart.

Where can I find the SCO OS 5.0.5 install media?
Or can I get...
11,596
Posted By chedlee88-1
Yeah. This will work. However, why would...
Yeah. This will work.

However, why would you want to program it this way?
It looks really complicated.
876
Posted By chedlee88-1
wc -l test1.txt >> test2.txt
> wc -l test1.txt >> test2.txt

This is the most simpliest way of doing.
1,501
Posted By chedlee88-1
Does DOS has a terminal or pseudo terminal?
> I am wondering if the DOS console works like the unix terminal?

The answer is yes & no.

DOS is an operating system, which use text base console.
Plus, it is a single user OS.

Unix...
11,596
Posted By chedlee88-1
Re: Adding header and trailer into a file
#!/bin/sh

for i in filelist*
do
NUMCHAR=`cat $i | wc -c`
echo "ABC,$NUMCHAR" >${i}.new
cat $i >>${i}.new
done


Video tutorial on how to use code tags in The UNIX and Linux...
Showing results 1 to 15 of 15

 

Featured Tech Videos

All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy