Hi
i need a script which reads a certain file and then display it on the screen.
The thing is i need to filter the display output.
this is an example of the file which is to be loaded in the script.
asdfg1.1.1|98
hjkldfe4.0.3|123
asdzxzvdweradfsdafascv10.0.10|123456789... (1 Reply)
Hello to all Gurus out there,
Could you show me a source code in Unix platform using C language. I want to read the status or voltage level of the DSR and CTS.
Thanks a lot,
Swing5 (2 Replies)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
Gurus,
I am looking for a book on Awk programming.
A quick Google search gave me Amazon.com: The AWK Programming Language (9780201079814): Alfred V. Aho, Brian W. Kernighan, Peter J. Weinberger: Books by Alfred Aho.
Is there anything other than that? Any advice?
Thanks.
Al. (1 Reply)
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Guys,
May i know how can we de reference the code reference variable.?
my $a = sub{$a=shift;$b=shift;print "SUM:",($a+$b),"\n";};
print $a->(4,5);
How can we print the whole function ?
Please suggest me regarding this.
Thanks for your time :)
Cheers,
Ranga :) (0 Replies)
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Hi,
I'd be grateful for your help with the following:
I have a file with a single column (file1). Let's say the values are:
a
b
c
5
d
I have a second, reference file (ref_file), which is colon-delimited, and is effectively a key. Let's say the values in it are:
a:1
b:2
c:3
d:4... (4 Replies)
Discussion started by: aberg
4 Replies
LEARN ABOUT OSX
base64
base64(1) BSD General Commands Manual base64(1)NAME
base64 -- Encode and decode using Base64 representation
SYNOPSIS
base64 [-d | -h | -v | -D] [-b count] [-i input_file] [-o output_file]
DESCRIPTION
base64 encodes and decodes Base64 data, as specified in RFC 4648. With no options, base64 reads raw data from stdin and writes encoded data
as a continuous block to stdout.
OPTIONS
The following options are available:
-b count
--break=count Insert line breaks every count characters. Default is 0, which generates an unbroken stream.
-d
--debug Print verbose log messages during processing.
-D
--decode Decode incoming Base64 stream into binary data.
-h
--help Print usage summary and exit.
-i input_file
--input=input_file Read input from input_file. Default is stdin; passing - also represents stdin.
-o output_file
--output=output_file
Write output to output_file. Default is stdout; passing - also represents stdout.
-v
--version Print build version and exit.
SEE ALSO openssl(1), wikipedia page <http://en.wikipedia.org/wiki/Base64>, RFC 4648 <http://tools.ietf.org/html/rfc4648>
Mac OS X 10.7 February 8, 2011 Mac OS X 10.7