7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
My output data from software tool is like
1234 84 test1 file:about user_detials(bankUser) :jpeg 10 40 xys
1356 2 branches dir:list of files(dirlisting:1) :directory 20 80 abc
and want this to be printed as below. where first and last 3 columns along with the string which is in the... (6 Replies)
Discussion started by: ratheeshp
6 Replies
2. SCO
Hi,
I am trying to insert text to the beginning of a text file with 'sed'. Its working however the new line is getting stripped.
I have a variable with the text that I want to insert:
VAR="This is the header line \n March 22, 2010 \n"
sed "1i\\
$VAR" logfile >tmpfile
The text gets... (3 Replies)
Discussion started by: nck
3 Replies
3. Shell Programming and Scripting
I have a script which is taking a 10 character variable (BOC) input by the user. If it begins with a zero, the script unwittingly strips that off, & passes a 9 characters variable.
echo -n "Enter core-follow date/time for BOC: "
setenv BOC $<
The next bit of code picks up the 9... (4 Replies)
Discussion started by: wtaicken
4 Replies
4. UNIX for Dummies Questions & Answers
Hi guyth
I;ve just install ubuntu (more l9ke n00buntu amiraite) linux and a quick
question about the libc randomisation?!!!
I notice that libc seems 2 mapped and random addys but .text &th@ gets
mapped staticly still, so surely that defats the whole purpses?
What is reall yimportant is we... (3 Replies)
Discussion started by: timbass
3 Replies
5. Programming
how can i determine the path
for libc.a?
i wonder where it is located in my unix machine (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies
6. Shell Programming and Scripting
Hi there
Has anyone seen this behaviour before, and if so, do they know why this happens? I am running this in BASH:
$ export DEV="/usr/sbin/diskutil list | /usr/bin/grep Master | /usr/bin/awk '{ print $6 }'"
$ echo $DEV
/usr/sbin/diskutil list | /usr/bin/grep Master | /usr/bin/awk '{ print... (4 Replies)
Discussion started by: mikie
4 Replies
7. UNIX for Dummies Questions & Answers
I want to make an installation on a thinkpad 701C: 486/16Mb/500Mb. Except the kernel, I need support for program development in as many languages as possible but at least C/C++ and Lisp. My only choice is to install by floppy disks only.
Which distribution should I choose, and are there any other... (2 Replies)
Discussion started by: Nietzsche
2 Replies