10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I need some help with this:
I'm making a script which does a couple of things with image files. The script is supposed to echo the number of each image it is processing like this:
Processing image1.jpgThe problem is with images with very long filenames, so I want to know how to limit the... (5 Replies)
Discussion started by: Shadow_Reaper
2. UNIX for Dummies Questions & Answers
I have a script that outputs the weather on two lines.
If possibly I would like to set a character limit on them
Currently it outputs something like
but I would like to limit the lines so appends an ellipsis if nescessary:
This is the script
curl -s --connect-timeout... (2 Replies)
Discussion started by: Light_
3. Shell Programming and Scripting
I want to delimit the output using awk.
should change to
Or to put in another way..
OFS will work in the following code if I seperate the values with comma (eg. $1,$2,$3,$4,$5,$6 ). But since the no. of... (3 Replies)
Discussion started by: PRKS
4. Shell Programming and Scripting
This is based on my question previously posted. :)
I have my shell script like this:
e_id=`sqlplus -s scott/tiger@DB<<eof
SET PAGESIZE 0 FEEDBACK OFF VERIFY OFF HEADING OFF ECHO OFF;
select emp_id from employee;
... (1 Reply)
Discussion started by: alvingo
5. Shell Programming and Scripting
hello, i'm trying to figure out a way to limit the output from an SQL query that is counting the number of occurances of a value in a field and the problem is when i run this query against a huge file with many unique values the output is pretty huge.
Is there a way i can specifically LIMIT the... (2 Replies)
Discussion started by: bobk544
6. Shell Programming and Scripting
Need awk help to group and print lines to format the output as shown below
set echo on
set heading on
set spool on
/* SCHEMA1 */ CREATE TABLE T1;
/* SCHEMA1 */ CREATE TABLE T2;
/* SCHEMA1 */ CREATE TABLE T3;
/* SCHEMA1 */ CREATE TABLE T4;
/* SCHEMA1 */ CREATE TABLE T5;... (5 Replies)
Discussion started by: rajan_san
On Solaris, a user is limited to being a member of a maximum of 16 groups. Could someone tell me where this limit comes from, i.e. is it NIS, or Solaris, or NFS that is imposing this limit?
What is the work-around to remove this limitation? (4 Replies)
Discussion started by: son_t
8. UNIX for Dummies Questions & Answers
I have a script that puts out a list that looks like this:
I want to seperate the output so that it instead has a space between each group so like this:
sl1... (8 Replies)
Discussion started by: llsmr777
9. Shell Programming and Scripting
Hello is there a way to limit the number of lines output by the DIFF command?
I tried -C 200 ect and -c but it continues to print out the whole huge file.
Reason needed is i'm trying to do alot of DIFFs on a long list of files and would like to only get back an indicator which files are... (2 Replies)
Discussion started by: bobk544
10. UNIX for Advanced & Expert Users
i have in my /etc/group an unix group full.
i need to add new user in this group.
users need to have the same gid and the same name...
is it possible ?
can i create a concatenation with an other group or something else ?
thx (1 Reply)
Discussion started by: farzolito