The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed behavior on hp-ux andy2000 Shell Programming and Scripting 8 05-04-2007 10:23 PM
ltoa Behavior charitonca HP-UX 2 07-13-2006 07:29 PM
ls behavior AtleRamsli High Level Programming 10 03-26-2002 07:31 AM
Telnet behavior piltrafa UNIX for Dummies Questions & Answers 4 10-31-2001 03:49 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-12-2006
umen umen is offline
Registered User
  
 

Join Date: Aug 2005
Posts: 239
cat behavior when passing http prams as arg

Hello all
im newbie in unix , as my experiences i passed to the cat utility http prams as args i got :
cat http://localhost:8000/test.php?
szAddress=&szNationalId=&szFirstName=&szLastName=&undefined=undefined&iTargetModule=0&bFullScreen=

and the result is :
[1] 2540
[2] 3016
[3] 2356
[4] 2552
[5] 2692
[6] 1204
[1] Done szAddress=
[2] Done szNationalId=
[3] Done szFirstName=
[4] Done szLastName=
[5] Done undefined=undefined


and this is great this is exactly what I wanted to get to see the name and value of my submit, and I got it by mistake …..
any way now I like to pass this result to text file .
cat > foo.txtx

cat http://localhost:8000/test.php?
szAddress=&szNationalId=&szFirstName=&szLastName=&undefined=undefined&iTargetModule=0&bFullScreen=

ctr – d

don’t give me the same results ( name = value ) as it was when I passed it to the cat .
how can I do the same result ?

thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0