Search Results

Search: Posts Made By: mcclunyboy
Forum: Web Development 03-07-2013
4,929
Posted By Corona688
The huge block-o-stuff is base64-encoded. ...
The huge block-o-stuff is base64-encoded. Decoding it just gets you more junk. It's nested nested nestings crammed into evals crammed into evals, with all the variable names altered into garbage,...
5,443
Posted By Scrutinizer
If you only use TAB's for indent, you could use...
If you only use TAB's for indent, you could use <<- FTP instead of << FTP
1,661
Posted By felipe.vinturin
Probably you have spaces in your input file! ...
Probably you have spaces in your input file!
Try:

sed 's# ##g' <inFile>


Or better:

sed 's#[ \t]##g' <inFile>
1,661
Posted By vgersh99
probably 'cause it's syntactically incorrect...
probably 'cause it's syntactically incorrect statement...

awk '{print $0 "a"}' myFile
1,661
Posted By rdcwayx
awk '{printf "COPY BATCH_%sa INTO...
awk '{printf "COPY BATCH_%sa INTO /dir/dir/dir/BATCH_%sa.txt\n", $1,$1}' infile
1,702
Posted By jaiseaugustine
Try This, echo text_to_send | mailx -s...
Try This,

echo text_to_send | mailx -s "subject" email@email.co.email
1,702
Posted By radoulov
Do you get any error? If not, we'll need to...
Do you get any error?
If not, we'll need to see the trace of the part of the script that's not working
(add set -xv before the failing command and post the output here).
11,759
Posted By bakunin
To be honest i can't believe a home directory...
To be honest i can't believe a home directory would be world-writable. If really so: have your sysadmin tarred, feathered, dismembered, hanged, fired and then really hurt. Still, i do not think that...
11,759
Posted By jim mcnamara
the .ssh directory must be 700, the login (or...
the .ssh directory must be 700, the login (or home directory) must be 755 or more restrictive.
2,518
Posted By
sed 's/,\([0-9]{4}\)[0-9]{2}\([0-9]{2}\),/\1\2/g'...
sed 's/,\([0-9]{4}\)[0-9]{2}\([0-9]{2}\),/\1\2/g' inputfile

Matching a 8 digits number between two ,(comma) and remembering first 4 + last 2 digits of it to exclude 2 unwanted middle digits.
2,518
Posted By anurag.singh
sed...
sed 's/^\([^,]*\),\([^,]*\),\([^,]*\),\(....\)\(..\)\(..\)\(.*\)/\1,\2,\3,\4\6\7/g' inputFile
5,492
Posted By cabrao
For the trailer record: $ awk '{s+=$3}END{print...
For the trailer record:
$ awk '{s+=$3}END{print "trailer record, "s}' infile
trailer record, 250
2,261
Posted By felipe.vinturin
Check if this link helps you: Passing parameter...
Check if this link helps you: Passing parameter through .sh file for creation generic database - Ingres Community Forums...
1,373
Posted By Scott
Hi. (overlooking the missing space after [,...
Hi.

(overlooking the missing space after [, the missing fi and that $1 would be better quoted) what does not work about it?
8,872
Posted By Scott
Hi. Your rm command might have an option. ...
Hi.

Your rm command might have an option.

i.e. on AIX:


find ...... rm -e {} .... >> $LOGGING
Linux:

find ... rm -v {} ... >> $LOGGING
Otherwise, maybe something like:


find...
1,090
Posted By bartus11
First of all it's "\;" not "/;" :) In Unix it is...
First of all it's "\;" not "/;" :) In Unix it is huge difference. In few words, ";" is part of find's exec clause syntax. It marks end of command to execute. But ";" is also used by shell for the...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy