07-22-2012
I would suggest you to use
set -x while running the script, so that you could capture what are you missing really!
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have tonnes of .txt files that are written in French. I need to replace the French special characters, however, with English equivalents (e.g. é -> e and ç -> c).
I have tried this
---
#!/bin/bash
# Convert French characters to normal characters
# Treat each of the files
exec... (4 Replies)
Discussion started by: BlueberryPickle
4 Replies
2. HP-UX
I am having a problem with two OSes. One is running windows 2003 and sending XML to a second system running Unix (HP-UX 11i v1). Windows sends XML to the UNIX system fine but then the UNIX system reads the buffer file and turns the french characters into the following:
é Ú
É ╔
Î ... (3 Replies)
Discussion started by: Redfin
3 Replies
3. UNIX for Dummies Questions & Answers
lnode * head = temp; (1 Reply)
Discussion started by: rickym2626
1 Replies
4. Shell Programming and Scripting
Hi Friends,
Need help regarding how to handle french char. in SunOS.
I have to remove blank line from 100 files ( which also has some french char.), so I put all those file in unix (SunOS) by using filezilla and by using sed command I achived this, and I again get all the file back through... (2 Replies)
Discussion started by: forroughuse
2 Replies
5. Shell Programming and Scripting
Hi guys,
I'm trying to create a DataStage job and I'm basing it off an existing similar project.
The 'Input' value of the job is:
(where "/DATA/CSV_FILES" is where all the files were located)
My understanding is that for each CSV, it added the 'filename' as Column A. And then it... (5 Replies)
Discussion started by: thedunnyman
5 Replies
6. UNIX for Dummies Questions & Answers
Hello again,
How can I send emails via postfix with special characters like "à" via postfix.
When I'm paste-ing the special character inside a editor (nano) it shows like this --> � ... any tips? (1 Reply)
Discussion started by: galford
1 Replies
LEARN ABOUT SUSE
pcap_set_tstamp_type
PCAP_SET_TSTAMP_TYPE(3PCAP) PCAP_SET_TSTAMP_TYPE(3PCAP)
NAME
pcap_set_tstamp_type - set the time stamp type to be used by a capture device
SYNOPSIS
#include <pcap/pcap.h>
int pcap_set_tstamp_type(pcap_t *p, int tstamp_type);
DESCRIPTION
pcap_set_tstamp_type() sets the the type of time stamp desired for packets captured on the pcap descriptor to the type specified by
tstamp_type. It must be called on a pcap descriptor created by pcap_create() that has not yet been activated by pcap_activate().
pcap_list_tstamp_types() will give a list of the time stamp types supported by a given capture device. See pcap-tstamp(7) for a list of
all the time stamp types.
RETURN VALUE
pcap_set_tstamp_type() returns 0 on success if the specified time stamp type is expected to be supported by the capture device, PCAP_WARN-
ING_TSTAMP_TYPE_NOTSUP on success if the specified time stamp type is not supported by the capture device, PCAP_ERROR_ACTIVATED if called
on a capture handle that has been activated, and PCAP_ERROR_CANTSET_TSTAMP_TYPE if the capture device doesn't support setting the time
stamp type.
SEE ALSO
pcap(3PCAP), pcap_list_tstamp_types(3PCAP), pcap_tstamp_type_name_to_val(3PCAP), pcap-tstamp(7)
21 August 2010 PCAP_SET_TSTAMP_TYPE(3PCAP)