Sponsored Content
Full Discussion: URL to ASCII
Top Forums Shell Programming and Scripting URL to ASCII Post 302204419 by ripat on Wednesday 11th of June 2008 01:45:52 PM
Old 06-11-2008
Well, that's strange. In your shell do this:
Code:
$ printf "\x5B"
$ printf "\x5D"

In my bash and ksh it correctly returns [ and ]
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ascii

a silly question but is there a way to display individual ascii values say if i type 65 it will display the letter instead? thanks fo any help. (3 Replies)
Discussion started by: melkor
3 Replies

2. UNIX for Advanced & Expert Users

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

3. Shell Programming and Scripting

url calling and parameter passing to url in script

Hi all, I need to write a unix script in which need to call a url. Then need to pass parameters to that url. please help. Regards, gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies

4. UNIX for Dummies Questions & Answers

ReDirecting a URL to another URL - Linux

Hello, I need to redirect an existing URL, how can i do that? There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this? This is on Unix boxes Linux. example: https://m45.testing.address.net/host.php make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies

5. Shell Programming and Scripting

convert ascii values into ascii characters

Hi gurus, I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies

6. Programming

ascii to hex

Hello guys, i want to convert a text file to hex and have written this code : int main(int argc, char **argv) { ifstream file; string fileName = "CODEZ"; file.open(fileName.c_str()); // oeffen im Text-Modus if(file) {... (5 Replies)
Discussion started by: Kingbruce
5 Replies

7. Web Development

Regex to rewrite URL to another URL based on HTTP_HOST?

I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST The call goes out to http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena The ID in the middle is always random due to the cookie. I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies

8. UNIX for Dummies Questions & Answers

Awk: print all URL addresses between iframe tags without repeating an already printed URL

Here is what I have so far: find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}' Here is an example content of a PHP or HTM(HTML) file: <iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies

9. Shell Programming and Scripting

Reading URL using Mechanize and dump all the contents of the URL to a file

Hello, Am very new to perl , please help me here !! I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file. below is the script which i have written so far , #!/usr/bin/perl use LWP::UserAgent; use... (2 Replies)
Discussion started by: scott_cog
2 Replies

10. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
lastfm(1)						      General Commands Manual							 lastfm(1)

NAME
lastfmsubmitd, lastfmsubmit - Last.fm submission daemon and helper SYNOPSIS
lastfmsubmitd [--debug] [--no-daemon] [--no-network] [--help] lastfmsubmit [--encoding ENC] [--artist ARTIST] [--title TITLE] [--length LEN] [--time STAMP] [--album ALBUM] [--mbid TRACKID] [--stdout] [--debug] [--quiet] [--help] DESCRIPTION
lastfmsubmitd uses the Last.fm protocol to send information about played songs to a submission server. If network connectivity is lost or lastfmsubmitd is shut down, any unsubmitted songs will be saved to disk. Song information is collected from one or more music players via a spool directory. All songs are submitted with the account information provided in the configuration file. lastfmsubmit is a helper program meant to be invoked by music players. It handles setting the timestamp, encoding data as UTF-8, serializ- ing it to send to lastfmsubmitd, and locking. OPTIONS
-d, --debug Log debugging information. -n, --no-daemon Do not fork into the background. -n, --no-network Do not attempt to connect to a server, but process submissions anyway. -e, --encoding Use a different encoding than the locale's default to read song information. -q, --quiet Silence any logging information that would normally be printed to stderr. -a, --artist Specify the song's artist name. Artist, title, and length are required for lastfmsubmitd to actually submit the song. -t, --title Specify the song's title. -l, --length Specify the song's length. -i, --time Specify the time at which the song was played, formatted in UTC as '%Y-%m-%d %H:%M:%S' (see strptime(3)). If not given, defaults to the current time. -b, --album Specify the song's album name. -m, --mbid Specify the song's MusicBrainz track ID. -o, --stdout Write the serialized song information to standard output instead of the spool. FILES
/var/spool/lastfm The directory where music players should write song information to be submitted by lastfmsubmitd. /etc/lastfmsubmitd.conf The configuration file. AUTHOR
Decklin Foster <decklin@red-bean.com>. lastfm(1)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy